Re: How to implement window fade-in fade-out effects
Re: How to implement window fade-in fade-out effects
- Subject: Re: How to implement window fade-in fade-out effects
- From: "Sean McBride" <email@hidden>
- Date: Wed, 4 Jun 2008 11:24:57 -0400
- Organization: Rogue Research
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 window becomes
>visible (same for hiding). How does one go about that?
Carbon has an API that does this: TransitionWindow(). You can take a
look at its docs. It supports the genie effect and others. There is no
equivalent Cocoa API.
Matt Ball wrote some Cocoa code that uses this:
<http://www.mattballdesign.com/code/>
Alas, TransitionWindow() is deprecated and not available in 64. So
really I don't recommend it.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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