• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best way to customize Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Best way to customize Cocoa (From: Dan Koss <email@hidden>)
 >Re: Best way to customize Cocoa (From: Daniel Jalkut <email@hidden>)
 >Re: Best way to customize Cocoa (From: P Teeson <email@hidden>)

  • Prev by Date: Re: Best way to customize Cocoa
  • Next by Date: Re: Converting HIPoints to CGPoints/NSPoints in global space?
  • Previous by thread: Re: Best way to customize Cocoa
  • Next by thread: setting NSSlider floatvalue from different thread
  • Index(es):
    • Date
    • Thread