• 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
Re: White caret cursor, how to do it?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: White caret cursor, how to do it?


  • Subject: Re: White caret cursor, how to do it?
  • From: "John C. Randolph" <email@hidden>
  • Date: Mon, 20 Mar 2006 09:03:32 -0800


On Mar 20, 2006, at 8:14 AM, I. Savant wrote:


So what I guess I'm meaning here is the "color complement", according to John's reply. Is there an easy way of getting the complement of a given NSColor? I don't see anything obvious in the API docs.

Well, coming up with a contrasting color isn't all that cut-and- dried. If you just pick the color that's 180 degrees away in hue, that doesn't help much against a background that's a 50% gray, for example.


What Apple does with the standard arrow cursor, is to make it with black pixels and white edges so it shows up pretty well against anything.

-jcr


John C. Randolph <email@hidden> (408) 914-0013 Roaming Cocoa Engineer, Available for your projects at great Expense and Inconvenience.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: White caret cursor, how to do it? (From: Greg Herlihy <email@hidden>)
 >Re: White caret cursor, how to do it? (From: "I. Savant" <email@hidden>)
 >Re: White caret cursor, how to do it? (From: Camillo Lugaresi <email@hidden>)
 >Re: White caret cursor, how to do it? (From: "John C. Randolph" <email@hidden>)
 >Re: White caret cursor, how to do it? (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: MVC, DBA, CoreData (was: CoreData : fundamental (or not) questions)
  • Next by Date: [SOLVED] Re: One NSOutlineView, more than one identical items
  • Previous by thread: Re: White caret cursor, how to do it?
  • Next by thread: Non-Active Window Interaction
  • Index(es):
    • Date
    • Thread