RE: how to change NSButton color

2011-01-24 Thread Shawn Bakhtiar
pple.com > Subject: Re: how to change NSButton color > > > On Jan 23, 2011, at 8:14 AM, Dianne wrote: > > > I want to change the buttons color from the normal gray to dark gray to > > indicate > > whether the button is assigned to other values other than its d

Re: how to change NSButton color

2011-01-23 Thread John Joyce
On Jan 23, 2011, at 8:14 AM, Dianne wrote: > I want to change the buttons color from the normal gray to dark gray to > indicate > whether the button is assigned to other values other than its default value. > > Is there any other or best way to do this? what you can suggest? > Thanks, > Yani

Re: how to change NSButton color

2011-01-23 Thread Dianne
To: Dianne Cc: "Cocoa-dev@lists.apple.com" Sent: Sat, January 22, 2011 2:38:07 PM Subject: Re: how to change NSButton color On Jan 20, 2011, at 11:49 PM, Dianne wrote: > Hi List, > > I would like to know what you can suggest when changing the color of NSButton. > I have

Re: how to change NSButton color

2011-01-22 Thread Gary L. Wade
Depending on the effect and need (e.g., iCal calendar choice check boxes?), you might do fine with those, but you may have to update your app every release of the OS. Another way to do something like this, provided you have a well-defined mask, is to use an overlay window in the same way that Sa

Re: how to change NSButton color

2011-01-21 Thread Kyle Sluder
On Jan 20, 2011, at 11:49 PM, Dianne wrote: > Hi List, > > I would like to know what you can suggest when changing the color of NSButton. > I have read everywhere that I need to subclass NSButtonCell and NSButton as > well, is this the only way to do it for Mac? > I'm surprised that this is how