|
VSTGUI
4.4
Graphical User Interface Framework not only for VST plugins
|
Inheritance diagram for Animator:Public Member Functions | |
Adding and removing Animations | |
| void | addAnimation (CView *view, IdStringPtr name, IAnimationTarget *target, ITimingFunction *timingFunction, CBaseObject *notificationObject=0) |
| adds an animation. More... | |
| void | removeAnimation (CView *view, IdStringPtr name) |
| removes an animation. More... | |
| void | removeAnimations (CView *view) |
| removes all animations for view More... | |
Public Member Functions inherited from CBaseObject | |
| CBaseObject () | |
| virtual | ~CBaseObject () |
| virtual void | beforeDelete () |
| virtual void | forget () |
| decrease refcount and delete object if refcount == 0 More... | |
| virtual void | remember () |
| increase refcount More... | |
| virtual int32_t | getNbReference () const |
| get refcount More... | |
| virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
Animation runner.
see Animations Support
| void addAnimation | ( | CView * | view, |
| IdStringPtr | name, | ||
| IAnimationTarget * | target, | ||
| ITimingFunction * | timingFunction, | ||
| CBaseObject * | notificationObject = 0 |
||
| ) |
adds an animation.
Animation and timingFunction is now owned by the animator. An already running animation for view with name will be canceled. If a notificationObject is supplied, it will be notified when the animation has finished
| void removeAnimation | ( | CView * | view, |
| IdStringPtr | name | ||
| ) |
removes an animation.
If animation is a CBaseObject forget() will be called otherwise it is deleted. The same will be done with the timingFunction.
| void removeAnimations | ( | CView * | view | ) |
removes all animations for view