VSTGUI 4.10 Graphical User Interface Framework not only for VST plugins

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
ControlValueAnimation Class Reference
Animation Targets | Version 4.0

animates the value of a CControl More...

Inheritance diagram for ControlValueAnimation:

## Public Member Functions
| ControlValueAnimation (float endValue, bool forceEndValueOnFinish=false)
void | animationStart (CView *view, IdStringPtr name) override
| animation starts
void | animationTick (CView *view, IdStringPtr name, float pos) override
| pos is a normalized value between zero and one
void | animationFinished (CView *view, IdStringPtr name, bool wasCanceled) override
| animation ended
Public Member Functions inherited from IAnimationTarget
virtual | ~IAnimationTarget () noexcept=default
Public Member Functions inherited from ReferenceCounted< T >
| ReferenceCounted ()=default
virtual | ~ReferenceCounted () noexcept=default
| ReferenceCounted (const ReferenceCounted &)
ReferenceCounted & | operator= (const ReferenceCounted &)
void | forget () override
| decrease refcount and delete object if refcount == 0
void | remember () override
| increase refcount
virtual int32_t | getNbReference () const
| get refcount

## 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
| ) |  |
| override virtual

animation ended

Implements IAnimationTarget.

void animationStart | ( | CView * | view,
|  | IdStringPtr | name
| ) |  |
| override virtual

animation starts

Implements IAnimationTarget.

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

pos is a normalized value between zero and one

Implements IAnimationTarget.

## Member Data Documentation

float endValue
| protected

bool forceEndValueOnFinish
| protected

float startValue
| protected

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

- animations.h
- animations.cpp