Re: Color Picker implementation error
Re: Color Picker implementation error
- Subject: Re: Color Picker implementation error
- From: Corbin Dunn <email@hidden>
- Date: Wed, 7 Jun 2006 11:40:51 -0700
Yes, I want to integrate the NSColorPanel Color Wheel into an existing
window so it won't popup as a separate panel.
How does, NSColroPanel has implemented the Color Wheel view?
I think NSColorPanel makes use of a class, which will draw the color
spectrum and implement the
color picker based on the position of the mouse click.
Does that class is exposed? so that we can declare a class which
inherits
from that class
It isn't exposed, and it won't be possible to subclass it.
In general, if you want a color wheel in your app, one easy solution
is to use an image, and request the color for the point at the
particular image wherever it is clicked upon.
-corbin
_______________________________________________
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