AUI Framework
master
Cross-platform module-based framework for developing C++20 desktop applications
|
Public Member Functions | |
void | setCurve (const std::function< float(float)> &curve) |
void | animate (AView *view, IRenderer &render) |
void | postRender (AView *view, IRenderer &render) |
void | pause () |
void | setDuration (float period) |
void | setRepeating (bool repeating) |
const AView * | getView () const |
void | setView (AView *view) |
Static Public Member Functions | |
static _< AAnimator > | combine (const AVector< _< AAnimator > > &animators) |
Protected Member Functions | |
virtual void | doAnimation (AView *view, float theta, IRenderer &render) |
Does the animation (sets matrix, colors, etc...) More... | |
virtual void | doPostRender (AView *view, float theta, IRenderer &render) |
void | translateToCenter (IRenderer &render) |
void | translateToCorner (IRenderer &render) |
Static Protected Member Functions | |
static void | translateToCenter (AView *view, IRenderer &render) |
static void | translateToCorner (AView *view, IRenderer &render) |
|
inlineprotectedvirtual |
Does the animation (sets matrix, colors, etc...)
theta | animation time value [0;1] where 0 - start of the animation, 1 - end of the animation |
Reimplemented in AFocusAnimator, ARotationAnimator, ASizeAnimator, and ATranslationAnimator.