Re: Apply animation curve to nswindow position?

2010-11-09 Thread Nick Zitzmann
On Nov 9, 2010, at 2:41 PM, Michael Hanna wrote: > Yes, -setFrame:display:animate would do the job but I think it'd be neat to > have finer control over the duration. If you subclass NSWindow and override -animationResizeTime:, you can make the duration take any time you want. Nick Zitzmann

Re: Apply animation curve to nswindow position?

2010-11-09 Thread Michael Hanna
Yes, -setFrame:display:animate would do the job but I think it'd be neat to have finer control over the duration. I would like to make a bunch of borderless windows that each contain a cloud graphic. So they would "float by" at different rates across the screen. I guess this sortof a silly idea n

Re: Apply animation curve to nswindow position?

2010-11-09 Thread Sean McBride
On Tue, 9 Nov 2010 13:57:51 -0500, Michael Hanna said: >Is this even possible? It appears from the documentation that you can only >apply an NSViewAnimation to an NSWindow. I'd like to apply a >CABasicAnimation to animate a window's movement. Any suggestions? I don't think there's anything more t

Re: Apply animation curve to nswindow position?

2010-11-09 Thread Nick Zitzmann
On Nov 9, 2010, at 11:57 AM, Michael Hanna wrote: > Is this even possible? It appears from the documentation that you can only > apply an NSViewAnimation to an NSWindow. I'd like to apply a > CABasicAnimation to animate a window's movement. Any suggestions? Is there some reason why the -setFrame

Apply animation curve to nswindow position?

2010-11-09 Thread Michael Hanna
Is this even possible? It appears from the documentation that you can only apply an NSViewAnimation to an NSWindow. I'd like to apply a CABasicAnimation to animate a window's movement. Any suggestions? Michael ___ Cocoa-dev mailing list (Cocoa-dev@lists