Extracting Color components from NSColorWell
Extracting Color components from NSColorWell
- Subject: Extracting Color components from NSColorWell
- From: Jeremy Hubbell <email@hidden>
- Date: Wed, 25 Jan 2006 13:47:22 +0900
I'm attempting to do a simple R, G, and B value extraction on an
NSColorWell object. Basically, right now, I can get the the values
sent to NSLog now as a group of values on a single line (RGBA) but
I'd like to grab each value individually and store them separately.
Is there a method on NSColorWell that I'm missing here? Using the
redComponent method throws an exception in the log. I'm sure I'm just
missing something simple here (and I'm a bit of a noob if you
couldn't tell already) but if anyone knows a simple way to do this,
I'd appreciate the help.
Thanks.
-Jh
_______________________________________________
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