Re: Best way to customize Cocoa
Re: Best way to customize Cocoa
- Subject: Re: Best way to customize Cocoa
- From: Dan Koss <email@hidden>
- Date: Tue, 14 Feb 2006 23:48:27 -0600
For the colored buttons, etc., you'll probably want to subclass
the particular buttons you want. But since it sounds like you're
going for highly customized UI, it might be easier to start from
scratch and develop your own button subclass that draws everything
yourself.
I guess what I'm wondering is that Logic uses a different color for
the alternate state on its buttons, even though they are standard
Cocoa button styles; I'm wondering how it's possible to achieve this
(or if I need to use button images to achieve it.) Looking at the
NSButton API reference doesn't give a whole lot of clues aside from
using different NSGradient styles and experimenting with those to see
if that's what I'm looking for. I'd rather not reinvent the button
(wheel) if I don't have to. Are there any undocumented alternate-
state API calls?
Dan
_______________________________________________
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