CPObjectCPAnimation
_CPWindowFrameAnimation
@implementation _CPWindowFrameAnimation : CPAnimation
Method Summary | |
---|---|
-(id) | initWithWindow:(CPWindow)aWindow targetFrame:(CGRect)aTargetFrame |
-(void) | setCurrentProgress:(float)aProgress Sets the animation's progress. |
-(void) | startAnimation Starts the animation. |
Methods inherited from class CPAnimation |
---|
initWithDuration, animationCurve, currentProgress, currentValue, delegate, duration, frameRate, isAnimating, setAnimationCurve, setCurrentProgress, setDelegate, setDuration, setFrameRate, startAnimation, stopAnimation |
Method Detail |
---|
-(id)initWithWindow:(CPWindow)aWindow targetFrame:(CGRect)aTargetFrame
aWindow
aTargetFrame
-(void)setCurrentProgress:(float)aProgress
aProgress
- the animation's progress-(void)startAnimation
animationShouldStart:
on the delegate (if it implements it) to see if the animation
should begin.Created on Sat Sep 13 14:15:43 PDT 2008