discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Kickstarter was not successful... but it did help things...


From: Fred Kiefer
Subject: Re: Kickstarter was not successful... but it did help things...
Date: Sun, 24 Nov 2013 21:27:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 24.11.2013 12:54, David Chisnall wrote:
> We still have some issues with theming though.  In the app I demoed,
> I have some quite ugly code for selecting a shade of green that is
> visible on a scroll view.  The default theme has a dark background,
> Nesedah and Narcissus have a white background, so the default
> [NSColor greenColor], which is very bright, is visible on the default
> theme but completely invisible with themes.  It would be nice to have
> a simple standard way of getting default NSColor values that worked
> on the themes.  I wonder if there's any code that depends on
> greenColor actually being 0,ff,0 - if not, then just having the theme
> define greenColor (and redColor and so on) as darker shades would
> probably be sensible.

I don't think redefining greenColor is the way to go. What you could use
is GSTheme -colorNamed:state:, but for that you would need to have the
theme know about your specific requirements. It is not very likely that
a theme will provide a colour named
"colourThatIsVisibleWhenUsedInAScrollView" :-)




reply via email to

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