gnustep-dev
[Top][All Lists]
Advanced

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

Re: [Gnustep-cvs] r29106 - in /libs/gui/trunk: ChangeLog Source/NSColorW


From: Richard Frith-Macdonald
Subject: Re: [Gnustep-cvs] r29106 - in /libs/gui/trunk: ChangeLog Source/NSColorWell.m
Date: Fri, 11 Dec 2009 15:24:19 +0000

On 10 Dec 2009, at 09:26, Eric Wasylishen wrote:

> Here's the new diff.
> 
> The one thing I'm not sure about is the best way to communicate to the
> GSThemeDrawing method how the color well should be drawn. Potentially
> a theme could want to draw the "currently-being-pressed" and "active
> color well" states differently. Right now I use isHighlighted /
> setHighlighted: on the NSColorWell's NSCell, but I don't think that's
> right.

The GSTheme code defines normal, highlighted, and selected states for controls 
generally, so it sounds like what you are doing is reasonable ...
a 'currently being pressed' colorwell might be 'highlighted', and an active 
colorwell might be 'selected'.







reply via email to

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