• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSColor for darker hightlight color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSColor for darker hightlight color


  • Subject: NSColor for darker hightlight color
  • From: Eric Gorr <email@hidden>
  • Date: Wed, 21 Oct 2009 18:25:19 -0400

If, in the Appearance settings, I set my highlight color to blue and then select an item in the finder, the blue color used is darker then the color shown in the Appearance Settings.

Is there a NSColor method which will return this darker shade to me?

Is it alternateSelectedControlTextColor?

Now, the one other aspect is whether or not this documentation continues to be accurate:

Accessing System Colors
NSColor has a number of methods that return system colors: colors controlled by user preferences. These colors—currently only selectedControlColor and selectedTextBackgroundColor—should be used by developers who want to create custom controls or subclass existing controls while honoring the user's color preferences.


If so, then it may not be appropriate for me to use alternateSelectedControlTextColor (for example) - however, neither selectedControlColor nor selectedTextBackgroundColor will return this darker shade of blue._______________________________________________

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


  • Follow-Ups:
    • Re: NSColor for darker hightlight color
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Opening a NSSavePanel as a Sheet, and blocking like in [panel runModal]
  • Next by Date: Re: How to run a panel that customizes a new NSDocument
  • Previous by thread: Re: NSURLDownload and file quarantine
  • Next by thread: Re: NSColor for darker hightlight color
  • Index(es):
    • Date
    • Thread