ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <Animation.h>

Inheritance diagram for GUI::Animation:
Collaboration diagram for GUI::Animation:

List of all members.

Public Member Functions

 Animation ()
virtual ~Animation ()=0
virtual void update (Drawable *drawable, long currentTime)
virtual void start (long currentTime)
 Set start time in millis.
virtual void setDuration (long duration)
 Set duration in millis.
virtual bool isFinished () const
bool isFinishOnEnd () const
void setFinishOnEnd (bool finishOnEnd)
InterpolatorPtr getInterpolator () const
void setInterpolator (InterpolatorPtr interpolator)

Protected Member Functions

void finishAnimation ()
virtual void updateInternal (Drawable *drawable, float interpolation)

Protected Attributes

long _startTime
long _duration
bool _finished
bool _finishOnEnd
InterpolatorPtr _interpolator

Detailed Description

Definition at line 34 of file Animation.h.

Constructor & Destructor Documentation

GUI::Animation::Animation (  ) 

Definition at line 29 of file Animation.cpp.

GUI::Animation::~Animation (  )  [pure virtual]

Definition at line 33 of file Animation.cpp.

Member Function Documentation

void GUI::Animation::finishAnimation (  )  [protected]

Definition at line 68 of file Animation.cpp.

InterpolatorPtr GUI::Animation::getInterpolator (  )  const

Definition at line 90 of file Animation.cpp.

bool GUI::Animation::isFinished (  )  const [virtual]

Definition at line 78 of file Animation.cpp.

bool GUI::Animation::isFinishOnEnd (  )  const

Definition at line 82 of file Animation.cpp.

void GUI::Animation::setDuration ( long  duration  )  [virtual]

Set duration in millis.

Reimplemented in GUI::ParallelAnimation.

Definition at line 41 of file Animation.cpp.

void GUI::Animation::setFinishOnEnd ( bool  finishOnEnd  ) 

Definition at line 86 of file Animation.cpp.

void GUI::Animation::setInterpolator ( InterpolatorPtr  interpolator  ) 

Definition at line 94 of file Animation.cpp.

void GUI::Animation::start ( long  currentTime  )  [virtual]

Set start time in millis.

Reimplemented in GUI::ParallelAnimation, GUI::RepeatAnimationWrapper, and GUI::SequenceAnimationComposite.

Definition at line 36 of file Animation.cpp.

void GUI::Animation::update ( Drawable drawable,
long  currentTime 
) [virtual]
void GUI::Animation::updateInternal ( Drawable drawable,
float  interpolation 
) [protected, virtual]

Reimplemented in GUI::AlphaAnimation, GUI::ScaleAnimation, and GUI::ScaleAnimation.

Definition at line 74 of file Animation.cpp.

Member Data Documentation

long GUI::Animation::_duration [protected]

Definition at line 66 of file Animation.h.

bool GUI::Animation::_finished [protected]

Definition at line 67 of file Animation.h.

bool GUI::Animation::_finishOnEnd [protected]

Definition at line 68 of file Animation.h.

Definition at line 69 of file Animation.h.

long GUI::Animation::_startTime [protected]

Definition at line 65 of file Animation.h.

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

Generated on Sat Sep 19 2020 05:05:25 for ResidualVM by doxygen 1.7.1
curved edge   curved edge