AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
AAnimator Class Reference

Detailed Description

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 AViewgetView () const
 
void setView (AView *view)
 

Static Public Member Functions

static _< AAnimatorcombine (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)
 

Member Function Documentation

◆ doAnimation()

virtual void AAnimator::doAnimation ( AView view,
float  theta,
IRenderer render 
)
inlineprotectedvirtual

Does the animation (sets matrix, colors, etc...)

Parameters
thetaanimation time value [0;1] where 0 - start of the animation, 1 - end of the animation

Reimplemented in AFocusAnimator, ARotationAnimator, ASizeAnimator, and ATranslationAnimator.


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