|Dec 30, 2012, 05:10 AM||#1|
Need guidance to reproduce these cocoa buttons
Hello, I'd like to add buttons at the bottom of an NSTableView to reproduce those frequently seen in Apple apps, like for instance the + and - buttons of the users and groups settings (system prefs).
These are not simple gradient buttons (the disable state looks different for once). It looks like Apple has placed buttons or cells into some gradient view.
I have reproduced a similar gradient in an NSView that I placed at the bottom of the table view. From this I'm not sure how to proceed. I can put buttons in that view but they won't look the way I want.
Should I place buttons in this gradient view, or just cells? Should I subclass NSCell to customize their look, or NSButton? Or should the "gradient" be an NSButton subclass with a gradient background and custom NSCell subclasses in it?
Thanks for your suggestions.
|Thread Tools||Search this Thread|
All times are GMT -5. The time now is 04:37 PM.