• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[ANN] AMRollOverButton class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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.

  • Prev by Date: Flickery NSAlertPanel
  • Next by Date: Re: NSArrayController Funkyness
  • Previous by thread: Re: Flickery NSAlertPanel
  • Next by thread: Disabling FontPanel UI elements that we don't support
  • Index(es):
    • Date
    • Thread