Re: Clicking on an NSColorWell
Re: Clicking on an NSColorWell
- Subject: Re: Clicking on an NSColorWell
- From: Corbin Dunn <email@hidden>
- Date: Fri, 12 Mar 2010 15:02:34 -0800
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 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:
>
>> 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?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden