• 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
NSButton ical Like
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSButton ical Like


  • Subject: NSButton ical Like
  • From: Emmanuel Pinault <email@hidden>
  • Date: Wed, 19 Nov 2008 11:37:21 -0800

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)?

I looked at the NSButton and NSButtonCell and nothing can set the background directly nor having an image and text on top... My understanding is that it must be a custom button made by Apple. So I looked inside the iCal.app, I can see they use some image that somehow but be stretched to fit. but have no idea how to do it. Would I need to extend the NSButton class and redo the drawing myself? If so , how would I create a background using a strectched image?

Thanks

Manu

_______________________________________________

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


  • Follow-Ups:
    • Re: NSButton ical Like
      • From: "Kyle Sluder" <email@hidden>
    • Re: NSButton ical Like
      • From: "Ken Ferry" <email@hidden>
    • Re: NSButton ical Like
      • From: Andre Masse <email@hidden>
    • Re: NSButton ical Like
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Decomposing an interface into separate nibs
  • Next by Date: Re: Cocoa apps protection software
  • Previous by thread: Re: Decomposing an interface into separate nibs
  • Next by thread: Re: NSButton ical Like
  • Index(es):
    • Date
    • Thread