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'. _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
