That's an awesome app. I've been looking at it, but it's a bit convoluted. I
can't quite seem to isolate the basic mechanism at play here. It uses a
NSTableView populated with a custom subclass of NSTextFieldCell that supports
an image? I'm just looking to have a column of color swatches I can b
Try the "AnimatedTableView" example. Feel free to post questions after you run
it. It has a custom mini color picker thingy.
corbin
On Mar 12, 2010, at 2:17 PM, Jonathon Kuo wrote:
> I need to generate an ad-hoc number of color swatches in a floating window so
> that when a user clicks on one
I need to generate an ad-hoc number of color swatches in a floating window so
that when a user clicks on one of them, the 'active' color of a stylus will
change to that color. Most likely NSColorWell is not the right tool for the
job...
On Mar 12, 2010, at 2:10 PM, Kevin Wojniak wrote:
> Subcl
Subclass and override mouseDown: - however if you're trying to intercept right
before the color panel is shown, or a drag starts, that may be trickier.
What are you trying to do generally?
On Mar 12, 2010, at 1:30 PM, Jonathon Kuo wrote:
> How can I intercept or get notified when a user clicks
How can I intercept or get notified when a user clicks on an NSColorWell?
OSX 10.6.2
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins