AUI Framework
develop
Cross-platform base for C++ UI apps
|
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...) | |
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...)
view | target view to perform animation for. |
theta | animation time value [0;1] where 0 - start of the animation, 1 - end of the animation. |
render | renderer. |
Reimplemented in AFocusAnimator, ARotationAnimator, ASizeAnimator, and ATranslationAnimator.