Re: Mail-like glossy buttons
Re: Mail-like glossy buttons
- Subject: Re: Mail-like glossy buttons
- From: David Aames <email@hidden>
- Date: Sun, 3 Sep 2006 19:35:26 +0100
I probably didn't express myself very well. I didn't ask about
actually producing the pixel images but implementing the button. I've
tried with NSButton and setting an image but it doesn't work
properly. I guess this is because NSButton is not meant to be used
only with an image. The only way I see it working is subclassing
NSButton or NSButtonCell for producing the left button. The right
button looks more like an NSPopUpButton. If anyone has successfully
sub-classed these and implemented look-a-likes can you please write a
few words which route you've gone (you can see the same buttons in
NetNewsWire and Skype).
Thanks
On 3 Sep 2006, at 18:10, PGM wrote:
David,
As there is no "glossy-button" available through NSButton, I guess
the simplest way to implement these is to make an image of a glossy
button in Photoshop or some other pixel-pusher, and then use this
image with a normal NSButton. This is for example how the buttons
in Safari are produced. It shouldn't be hard to google for some
Photoshop tutorials on creating glossy effects. Actually now I have
a closer look at it, the glossy effect of the buttons you mention
may be just two shades of grey that are drawn across the view.
Good luck, Patrick
On 3-Sep-06, at 12:43 PM, David Aames wrote:
Hello list,
I'm looking for some guidelines on how to implement these kind of
buttons (the ones in the bottom left hand corner). I've looked
through the archives and this question was asked before although I
couldn't find any definite emails on the implementation details.
Any suggestions on how to go about the problem are greatly
appreciated. Thanks very much for your help & time.
Regards,
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40sympatico.ca
This email sent to email@hidden
_______________________________________________
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