• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSViewAnimation and window destination alpha
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSViewAnimation and window destination alpha (From: Michael Watson <email@hidden>)

  • Prev by Date: Re: Fetch with IB and programmatic predicates
  • Next by Date: RE: How to capture my desktop?
  • Previous by thread: NSViewAnimation and window destination alpha
  • Next by thread: Set NSTableColumn Arrow up/down
  • Index(es):
    • Date
    • Thread