[ANN] AMRollOverButton class
[ANN] AMRollOverButton class
- Subject: [ANN] AMRollOverButton class
- From: Andreas Mayer <email@hidden>
- Date: Sat, 31 Jan 2004 01:56:49 +0100
AMRollOverButton class
Apple first used this kind of button in Safari's bookmarks bar (as far
as I can remember, that is). This button highlights when you move the
mouse pointer over it. In addition it sports text shadows and
configurable colors. You can also attach a menu which will be indicated
by a small triangle inside the button. Dragging is not yet implemented.
Techniques demonstrated:
- roll over effect
- subclassing NSCell
- implementing mouse tracking for cell
- basic drawing (NSBezierPath, Strings, Shadows ...)
- creating a custom Interface Builder palette
I *know* you all crave for those cool buttons that Safari uses in it's
bookmarks bar come, get 'em! :-)
http://www.harmless.de/cocoa.html
Have Fun!
Andreas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.