Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Markus Spoettl
On Jun 4, 2008, at 8:32 AM, Sean McBride wrote: That'll work, but in my experience if any of the controls in the window make use of 'autoresizing springs' then they will resize incorrectly if starting from a window size smaller that the control's minimum size. I'll keep that in mind, thank

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Sean McBride
On 6/4/08 10:18 AM, Stefan Werner said: >On Jun 4, 2008, at 8:24 AM, Sean McBride wrote: >> Alas, TransitionWindow() is deprecated and not available in 64. So >> really I don't recommend it. > >Technically speaking, it's not deprecated (at least it's not marked a >such in the documentation). I s

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Stefan Werner
On Jun 4, 2008, at 8:24 AM, Sean McBride wrote: Alas, TransitionWindow() is deprecated and not available in 64. So really I don't recommend it. Technically speaking, it's not deprecated (at least it's not marked a such in the documentation). If you don't need 64-bit support, it might just

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Sean McBride
On 6/4/08 2:25 AM, Brian Christensen said: >The window's frame is an animatable property, so you could try >something like this: > >- (void)showWindow:(id)window >{ > NSRect startFrom = NSZeroRect; > NSRect endAt = [window frame]; > CGFloat duration = 5.0; > > [window setFr

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Sean McBride
On 6/3/08 11:01 PM, Markus Spoettl said: >I have an existing window which I'd like to show and hide using a >zooming transition effect. I'd like something similar to the one in >iCal (on Leopard) when you double click a calendar entry or in Finder >when you press SPACE on an item an the QuickLook

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Shawn Erickson
On Wed, Jun 4, 2008 at 7:10 AM, colo <[EMAIL PROTECTED]> wrote: > Just curious if some frameworks have been thought of for Animation. In > the likes of Jquery or others. For example > window.show(fade_in, slow); > > That way animations can be very clean and simple to write and test. Core Animation

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Jean-Daniel Dupas
Le 4 juin 08 à 16:10, colo a écrit : Just curious if some frameworks have been thought of for Animation. In the likes of Jquery or others. For example window.show(fade_in, slow); That way animations can be very clean and simple to write and test. Isn't what CoreAnimation does ? ___

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread colo
Just curious if some frameworks have been thought of for Animation. In the likes of Jquery or others. For example window.show(fade_in, slow); That way animations can be very clean and simple to write and test. ___ Cocoa-dev mailing list (Cocoa-dev@lists

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Ken Thomases
On Jun 4, 2008, at 2:13 AM, Markus Spoettl wrote: On Jun 3, 2008, at 11:25 PM, Brian Christensen wrote: On Jun 4, 2008, at 2:01 , Markus Spoettl wrote: The window's frame is an animatable property, so you could try something like this: WOW that is very impressive. I didn't imagine it was t

Re: How to implement window fade-in fade-out effects

2008-06-04 Thread Markus Spoettl
On Jun 3, 2008, at 11:25 PM, Brian Christensen wrote: On Jun 4, 2008, at 2:01 , Markus Spoettl wrote: The window's frame is an animatable property, so you could try something like this: WOW that is very impressive. I didn't imagine it was that easy, thanks so much for the quick help! Reg

Re: How to implement window fade-in fade-out effects

2008-06-03 Thread Brian Christensen
On Jun 4, 2008, at 2:01 , Markus Spoettl wrote: Hello List, I need someone to push me in the right direction as I have no idea where to start: I have an existing window which I'd like to show and hide using a zooming transition effect. I'd like something similar to the one in iCal (on