Custom Buttons - Tutorial/Examples...
Custom Buttons - Tutorial/Examples...
- Subject: Custom Buttons - Tutorial/Examples...
- From: John Joyce <email@hidden>
- Date: Sat, 5 Apr 2008 17:08:23 -0500
Does anybody know a tutorial or example on creating custom buttons in
Cocoa?
I can certainly set an image in IB or programmatically, but how can I
determine the actual hitmask? Or even set the mouseOver type of event
for something like a rollover ?
I know I'm talking about stepping on Apple's HIG, but it is something
I'd like to know how to do without delving into CG or CA right now.
I've been toying with it a bit today, and I can certainly set the
images, but on mouse down, the background changes to the image with a
darkened state inside of a white rectangle... surely I'm missing
something stupidly obvious...?
Any tips or links are greatly appreciated!
Cheers,
JJ
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden