Re: NSViewAnimation and window destination alpha
Re: NSViewAnimation and window destination alpha
- Subject: Re: NSViewAnimation and window destination alpha
- From: Ryan Britton <email@hidden>
- Date: Thu, 1 Mar 2007 13:25:22 -0800
You could use an animation delegate to return an adjusted value based
on the progress scale of 0.0-1.0.
- (float)animation:(NSAnimation*)animation valueForProgress:
(NSAnimationProgress)progress;
On Mar 1, 2007, at 10:50 AM, Michael Watson wrote:
I have a window that's being faded in via NSViewAnimation, but I
want its destination opacity to be less than fully opaque. (E.g.,
start at 0, fade up to 0.8.)
Is NSViewAnimation itself capable of this, or do I need to subclass
it or NSAnimation?
--
m-s
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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