discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep themeing and MacOS HITheme APIs...


From: Michael Hanni
Subject: Re: GNUstep themeing and MacOS HITheme APIs...
Date: Fri, 5 Nov 2004 17:16:18 -0800 (PST)

Hi,

--- "M. Uli Kusterer" <witness@t-online.de> wrote:

> In article <mailman.981.1099690170.8225.discuss-gnustep@gnu.org>,
>  Michael Hanni <mhanni@yahoo.com> wrote:
> 
> > The latest NSTabView code
> > (http://www.cc.utah.edu/~msh3/gnustep/NSTabView-NG-0.02.tgz) has methods to
> > draw the whole tab and for each side of the tab. In theory you could
> override
> > easily any of these methods to completely change the look of the tab.
> 
>  Any chance of moving that into GSDrawFunctions? From what I understand, 
> this is the recommended place for collecting drawing functions that need 
> to be replaced when themeing.

I'm not adverse to doing this... Alex M? Is this a win?

> Oh, and is there any reason why GSDrawFunctions has unnamed parameters 
> as in
> 
>    +(NSRect) drawButton: (NSRect)border : (NSRect)clip;
> 
> ? Wouldn't
> 
>    +(NSRect) drawButton: (NSRect)border clipTo: (NSRect)clip;
> 
> be more readable? I spent the first half minute looking for the "?" to 
> go with that standalone ":"...

I'll second that.

Cheers,

Michael

=====





reply via email to

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