VSTGUI  4.2
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
ControlValueAnimation Class Reference

animates the value of a CControl More...

+ Inheritance diagram for ControlValueAnimation:
+ Collaboration diagram for ControlValueAnimation:

Public Member Functions

 ControlValueAnimation (float endValue, bool forceEndValueOnFinish=false)
 
void animationStart (CView *view, IdStringPtr name)
 animation starts More...
 
void animationTick (CView *view, IdStringPtr name, float pos)
 pos is a normalized value between zero and one More...
 
void animationFinished (CView *view, IdStringPtr name, bool wasCanceled)
 animation ended More...
 
Reference Counting Methods
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...
 
Message Methods
virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)
 

Protected Attributes

float startValue
 
float endValue
 
bool forceEndValueOnFinish
 

Detailed Description

animates the value of a CControl

see Animations Support

Constructor & Destructor Documentation

ControlValueAnimation ( float  endValue,
bool  forceEndValueOnFinish = false 
)

Member Function Documentation

void animationFinished ( CView view,
IdStringPtr  name,
bool  wasCanceled 
)
virtual

animation ended

Implements IAnimationTarget.

+ Here is the call graph for this function:

void animationStart ( CView view,
IdStringPtr  name 
)
virtual

animation starts

Implements IAnimationTarget.

+ Here is the call graph for this function:

void animationTick ( CView view,
IdStringPtr  name,
float  pos 
)
virtual

pos is a normalized value between zero and one

Implements IAnimationTarget.

+ Here is the call graph for this function:

virtual void forget ( )
inlinevirtualinherited

decrease refcount and delete object if refcount == 0

virtual int32_t getNbReference ( ) const
inlinevirtualinherited

get refcount

virtual void remember ( )
inlinevirtualinherited

increase refcount

+ Here is the caller graph for this function:

Member Data Documentation

float endValue
protected
bool forceEndValueOnFinish
protected
float startValue
protected

The documentation for this class was generated from the following files: