Re: NSButton ical Like

2008-11-19 Thread Emmanuel Pinault
Andre, Nice! This looks like what I am trying to build :) I guess I ll take a close look at this. For now I was using the regular DatePicker pointed out earlier but that one what I am looking for Manu On Nov 19, 2008, at 3:17 PM, Andre Masse wrote: I've not used it but this may worth tak

Re: NSButton ical Like

2008-11-19 Thread Emmanuel Pinault
Ken Thanks for the pointers. I will look into those classes. Sounds like what I am looking for. Too bad it is not in the documentation :( Manu On Nov 19, 2008, at 3:27 PM, Ken Ferry wrote: I can see they use some image that somehow but be stretched to fit. but have no idea how to do it.

Re: NSButton ical Like

2008-11-19 Thread Kyle Sluder
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

Re: NSButton ical Like

2008-11-19 Thread Ken Ferry
> I can see they use some image that somehow but be stretched to fit. but have > no idea how to do it. ... > how would I create a background using a strectched > image? I'm not following what art exactly you're talking about drawing, but it sounds like you might be interested in NSDrawThreePartIm

Re: NSButton ical Like

2008-11-19 Thread Andre Masse
I've not used it but this may worth taking a look at: http://code.google.com/p/calendarcontrol/ Andre Masse On Nov 19, 2008, at 14:37, Emmanuel Pinault 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

Re: NSButton ical Like

2008-11-19 Thread Emmanuel Pinault
On Nov 19, 2008, at 1:01 PM, Nick Zitzmann wrote: On Nov 19, 2008, at 12:37 PM, Emmanuel Pinault 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)? You've got to write one yourself

Re: NSButton ical Like

2008-11-19 Thread Nick Zitzmann
On Nov 19, 2008, at 12:37 PM, Emmanuel Pinault 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)? You've got to write one yourself and do all of the drawing, calendrical calculations

NSButton ical Like

2008-11-19 Thread Emmanuel Pinault
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 understandin