Re: "Morphing" Sheets
Re: "Morphing" Sheets
- Subject: Re: "Morphing" Sheets
- From: "Clark S. Cox III" <email@hidden>
- Date: Wed, 10 Jul 2002 00:29:35 -0400
On 07/09/2002 22:14, "Sebastian Celis" <email@hidden> wrote:
>
I just recently ran the Warcraft III installer which had a really
>
impressive visual effect. All of the information was displayed on
>
sheets that came out of a window with a picture on it. Instead of each
>
having each consecutive sheet slide in and out of the window's titlebar,
>
each sheet "morphed" into the next sheet. I'd push the OK button at the
>
bottom of the sheet, all of its contents would disappear, and the sheet
>
would then change size and display new contents instead of sliding in
>
and out.
>
>
Is this a feature of Cocoa that I was unaware of? Or did Blizzard write
>
some of their own sheet code? Maybe they used a third-party program for
>
creating their installer that does this...
>
>
Any ideas? It's an effect that I would really like to incorporate into
>
my application.
I'm sure that they just removed all of the sub views from the sheet, and
then called -(void)setFrame:(NSRect)frameRect display:(BOOL)displayFlag
animate:(BOOL)animationFlag, to change the size, and then inserted all of
the new subviews. At least that is how I would go about trying to accomplish
that effect.
--
Clark S. Cox III
MacOSX Programmer, available for hire
http://clarkcox.dyndns.org/
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.