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

animates the view size of the view More...

+ Inheritance diagram for ViewSizeAnimation:

Public Member Functions

 ViewSizeAnimation (const CRect &newRect, 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...
 
- Public Member Functions inherited from IAnimationTarget
virtual ~IAnimationTarget ()
 
- 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)
 

Protected Attributes

CRect startRect
 
CRect newRect
 
bool forceEndValueOnFinish
 

Detailed Description

animates the view size of the view

see Animations Support

Constructor & Destructor Documentation

ViewSizeAnimation ( const CRect newRect,
bool  forceEndValueOnFinish = false 
)

Member Function Documentation

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

animation ended

Implements IAnimationTarget.

void animationStart ( CView view,
IdStringPtr  name 
)
virtual

animation starts

Implements IAnimationTarget.

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

pos is a normalized value between zero and one

Implements IAnimationTarget.

Member Data Documentation

bool forceEndValueOnFinish
protected
CRect newRect
protected
CRect startRect
protected

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