[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a question about Camaelon
From: |
M. Uli Kusterer |
Subject: |
Re: a question about Camaelon |
Date: |
Wed, 23 Feb 2005 13:58:10 +0100 |
At 2:43 Uhr +0000 23.02.2005, Nicolas Roard wrote:
... we also miss a few more system colors; for example,
"rowBackgroundColor" that we could use in
NSTableView/NSOutlineView/NSBrowserView (instead of
controlBackgroundColor).
BTW, Cocoa already has:
+ (NSArray *)controlAlternatingRowBackgroundColors; // Standard
colors for alternating colored rows in tables and lists (for
instance, light blue/white; don't assume just two colors)
This is an array of (currently two) colors to use for rows in a list.
You just go through them and once you hit the end go back to top.
NSTableView and NSOutlineView require you to turn on use of those
explicitly, though. And then Cocoa also has:
+ (NSColor *)alternateSelectedControlColor; // Similar to
selectedControlColor; for use in lists and tables
+ (NSColor *)alternateSelectedControlTextColor; // Similar to
selectedControlTextColor; see alternateSelectedControlColor
If you don't have those already, it'd be useful to maybe add those
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de