discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTitleView class


From: Serg Stoyan
Subject: Re: NSTitleView class
Date: Tue, 1 Apr 2003 17:00:17 +0300

Hello Michael,

> Hi Serg,
> 
> Pretty nifty. A few comments...
> 
> --- Serg Stoyan <stoyan@on.com.ua> wrote:
> > - *.tiff - images for close and miniaturize button (title buttons now
> >   bordered and images support this, so it isn't WindowMaker style but 
> >   OPENSTEP style);
> 
> These images are corrupted. GNUstep barfs with, "Tiff Error
> (GSTiffReadData) Cannot read TIFF header".

  It's strange... What version of libtiff do you use?

> > Why I create this class:
> > 1. It can be used by NSMenuView, NSWindow and so on.
> > 2. It can be used by Login-style applications (that is, before any
> > window
> >    manager's loaded) to create own panels/windows which can be moved
> >    around.
> > 3. It can be used by GNUstep ObjectiveC window managers (e.g.
> > Interface).
> 
> All good points...
> 
> > 4. It helps keeping consistent look and feel across the environments.
> 
> I see you are in the Alex Malmberg camp on this one. :)

  Maybe, maybe... ;)

> > But this is the simplest part of implementation, I guess. Next
> > important thing is to make NSWindow using NSTitleView.
> > 
> > But anyway, what do you think about adding this non-standard (Cocoa
> > and OpenStep doesn't have this) class? Should I commit it to CVS? Is
> > there any problems or difficulties I missed?
> 
> NSTitleView is a little vague isn't it? Maybe something like, um,
> NSWindowTitleView would be a little more descriptive?
> 
> Oh, one more thing, bump the periodic events period to 0.03 and the
> windows will move a little smoother. After testing my original patch I
> found that 0.02 wasn't quite long enough to allow the move notifications
> to propagate -- atleast on my machine.

  Ok, I'll fix it, because I doesn't have ability to test it on P200.

> If we move to using this as the title bar for GNUstep windows would you
> consider implementing document icons in the title bar (like MacOS X)? You
> know, where you can drag the icon out of the bar and drop it on the
> desktop or where ever. I always thought that would be cool. :)
> 
> Also, should we own the resize bar on the bottom of the window as well
> then?

  If it's sensible, I can add resize bar also.

-- 
Serg Stoyan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]