bug-gnustep
[Top][All Lists]
Advanced

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

Re: [PATCH] make NSProgressIndicator lovely.


From: Fred Kiefer
Subject: Re: [PATCH] make NSProgressIndicator lovely.
Date: Sun, 13 Apr 2003 22:43:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903

Michael Hanni wrote:
Hi Fred,

--- Fred Kiefer <FredKiefer@gmx.de> wrote:

What about implementing all thse different looks at once, by having code for different NSInterfaceStyles? That way all off you would be happy and the rest of us will have a choice. I think this is currently only used in NSMenuView (and even there not exactly correct), though it should be working.


Ask, and ye shall receive. Patch attached. :-)

Wonderfull. Why don't you apply this to CVS yourself?


I wrote the NSInterfaceStyle code in NSMenuView, so this patch looks like that
code. Could you please explain how one actually uses this NSInterfaceStyle
class correctly? I couldn't find any good documentation of this class in a
quick search on the web.

There is no big problem with the code. It only ignores the second argument of the NSInterfaceStyleForKey call, where the object itself should be supplied. Each NSResponder may have a specific interface style assigned to and this should be obeyed. We really don't use this inside of GNUstep at the moment, still it would be cleaner to do so.

Fred






reply via email to

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