Re: How to create "pressed" effect on custom rounded buttons (like Safari bookmark)
Re: How to create "pressed" effect on custom rounded buttons (like Safari bookmark)
- Subject: Re: How to create "pressed" effect on custom rounded buttons (like Safari bookmark)
- From: "I. Savant" <email@hidden>
- Date: Wed, 17 May 2006 15:10:53 -0400
How did you create your custom button? Did you draw it in code or
did you use a pre-rendered image? Either way, you need to provide the
same button with the "pressed" look.
I'd been using pre-rendered images (two images per button - one
normal and one pressed) but be warned - OS X 10.5 will supposedly
support scaling displays which will make this method obsolete
(because the scaling will make your pre-rendered interface elements
look ugly). I've since changed my ways. ;-)
I recommend drawing your buttons using code. For what it's worth,
though, I believe Safari uses pre-rendered button images for the
buttons you mentioned. Look in the Safari app bundle's Resources
folder for an example.
--
I.S.
On May 17, 2006, at 2:56 PM, Eric wrote:
I have custom created a rounded button much like Safari's bookmark
button.
However, I'm unable to create the etched in effect on the button
when it is
pressed down, like it does in Safari. I've tried using shadows and
offsetted paths to no avail. Any suggestion appreciated.
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
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