Re: +[NSColor highlightColor] returns white instead of actual color
Re: +[NSColor highlightColor] returns white instead of actual color
- Subject: Re: +[NSColor highlightColor] returns white instead of actual color
- From: "Stephen J. Butler" <email@hidden>
- Date: Sun, 1 Feb 2009 01:26:51 -0600
On Sun, Feb 1, 2009 at 1:11 AM, Jerry Krinock <email@hidden> wrote:
> I'm overriding -[NSTableView highlightSelectionInClipRect:] because I don't
> want all the columns of the selected row to be highlighted. Works fine
> except +[NSColor highlightColor] returns white instead of actual highlight
> color I have set in System Preferences > Appearance, which is green.
>From the docs: "Returns the system color that represents the virtual
light source on the screen."
You want +[NSColor controlHighlightColor].
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden