• 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: NSTableView of NSColorWell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView of NSColorWell


  • Subject: Re: NSTableView of NSColorWell
  • From: Scott Anguish <email@hidden>
  • Date: Sun, 22 Sep 2002 23:02:22 -0400

On Sunday, September 22, 2002, at 10:56 PM, Greg Hulands wrote:

NSColorWell does not have an associated NSColorWellCell (i think is quite a shame as it would have come in handy yesterday for me :-(). All I did was subclass NSCell and do a fill rect of the color and then frame it with a black line. I have not as yet handle the click to bring up the NSColorPanel so that it behaves like the NSColorWell. (give me a couple of hours)


There is an NSColor method to draw the swatch -drawSwatchInRect:

this will include the appropriate adornments (i.e. CMYK adornment)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSTableView of NSColorWell (From: Greg Hulands <email@hidden>)

  • Prev by Date: Re: NSTableView of NSColorWell
  • Next by Date: Re: NSTableView of NSColorWell
  • Previous by thread: Re: NSTableView of NSColorWell
  • Next by thread: Re: NSTableView of NSColorWell
  • Index(es):
    • Date
    • Thread