On Wed, Nov 19, 2008 at 2:37 PM, Emmanuel Pinault <[EMAIL PROTECTED]> wrote: > How do I make a button like the mini calendar in ical (the one that show the > days and when one is selected , it shows the day with a blue gradient)?
Subclass NSButtonCell and put your subclass in an NSMatrix. There's no way to achieve your goal using just the standard NSButtonCell behavior. As for the actual drawing, the new Leopard-only NSGradient class will help. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]