• 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: Color Picker implementation error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >RE: Color Picker implementation error (From: Vinay Prabhu <email@hidden>)

  • Prev by Date: Re: vararg functions in frameworks
  • Next by Date: Re: vararg functions in frameworks
  • Previous by thread: RE: Color Picker implementation error
  • Next by thread: Color wheel kind of view
  • Index(es):
    • Date
    • Thread