Inheritance Graph
graph BT
AnimationHandler
click AnimationHandler "classGUI_1_1AnimationHandler"
Description
An AnimationHandler is responsible for one animation of a component. To start an animation, an appropriate AnimationHandler has to be created and registered at the GUI_Manager via addAnimationHandler. The GUI_Manager deletes the AnimationHandler Object when the animation has finished.
Public Functions
Documentation
function
GUI::AnimationHandler::AnimationHandler
Default constructor
Defined in GUI/Base/AnimationHandler.h:28
function
GUI::AnimationHandler::~AnimationHandler
Default destructor
Defined in GUI/Base/AnimationHandler.h:33
function
GUI::AnimationHandler::updateLastTime
Defined in GUI/Base/AnimationHandler.h:35
function
GUI::AnimationHandler::getLastTime
Defined in GUI/Base/AnimationHandler.h:36
function
GUI::AnimationHandler::setDuration
Defined in GUI/Base/AnimationHandler.h:38
function
GUI::AnimationHandler::getDuration
Defined in GUI/Base/AnimationHandler.h:39
function
GUI::AnimationHandler::setStartTime
Defined in GUI/Base/AnimationHandler.h:41
function
GUI::AnimationHandler::getStartTime
Defined in GUI/Base/AnimationHandler.h:42
function
GUI::AnimationHandler::getEndTime
Defined in GUI/Base/AnimationHandler.h:44
function
GUI::AnimationHandler::getComponent
Defined in GUI/Base/AnimationHandler.h:48
function
GUI::AnimationHandler::animate
Called by the GUI_Manager in every frame with the current time in seconds. If the animation has finished, finish() should be called and false should be returned (true otherwise). Then this object is removed by the GUI_Manager .
Defined in GUI/Base/AnimationHandler.h:56
function
GUI::AnimationHandler::finish
Sets the component to its final stage of the animation. Called when the animation finished by animate, or by the GUI_Manager if the animation should be finished prematurely.
Defined in GUI/Base/AnimationHandler.h:68