Colour Palette Design
Colour Palette Design
- Subject: Colour Palette Design
- From: TK <email@hidden>
- Date: Mon, 12 Jun 2006 17:11:47 +1000
Hi,
I'm trying to develop an application where the most convenient UI is
to have a colour palette of radio buttons. From the perspective of
what it looks like, an NSMatrix in radio mode of NSButtons (small,
square, on/off) is what I'm after.
The trickier task is labeling these buttons with colours - it works
quite well to create icons for individual colours externally and
bring them in as image resources, but I want users to be able to
modify the colour of a button using the Color Picker, when they say,
right-click (control-click? I'm a recent windows convert) on it.
I looked into the NSColorPanel class and its relatives, but I can't
see that it's going to help me either.
I've studied the API, searched mailing lists and googled for a couple
of hours, which has led to some code to change the entire colour of
buttons entirely, invisible button tricks and discussions about the
ethics of fiddling with Apple's idea of what buttons should look
like, none of which is quite helping me.
Could anyone please shed some light on the best way to tackle this
problem?
Regards,
Tom
_______________________________________________
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