openshot-audio  0.1.6
Classes | Public Member Functions | Public Attributes | List of all members
ComponentAnimator::AnimationTask Class Reference

Classes

class  ProxyComponent
 

Public Member Functions

 AnimationTask (Component *c) noexcept
 
void reset (const Rectangle< int > &finalBounds, float finalAlpha, int millisecondsToSpendMoving, bool useProxyComponent, double startSpd, double endSpd)
 
bool useTimeslice (const int elapsed)
 
void moveToFinalDestination ()
 

Public Attributes

WeakReference< Componentcomponent
 
ScopedPointer< Componentproxy
 
Rectangle< intdestination
 
double destAlpha
 
int msElapsed
 
int msTotal
 
double startSpeed
 
double midSpeed
 
double endSpeed
 
double lastProgress
 
double left
 
double top
 
double right
 
double bottom
 
double alpha
 
bool isMoving
 
bool isChangingAlpha
 

Constructor & Destructor Documentation

ComponentAnimator::AnimationTask::AnimationTask ( Component c)
inlinenoexcept

Member Function Documentation

void ComponentAnimator::AnimationTask::moveToFinalDestination ( )
inline
void ComponentAnimator::AnimationTask::reset ( const Rectangle< int > &  finalBounds,
float  finalAlpha,
int  millisecondsToSpendMoving,
bool  useProxyComponent,
double  startSpd,
double  endSpd 
)
inline
bool ComponentAnimator::AnimationTask::useTimeslice ( const int  elapsed)
inline

Member Data Documentation

double ComponentAnimator::AnimationTask::alpha
double ComponentAnimator::AnimationTask::bottom
WeakReference<Component> ComponentAnimator::AnimationTask::component
double ComponentAnimator::AnimationTask::destAlpha
Rectangle<int> ComponentAnimator::AnimationTask::destination
double ComponentAnimator::AnimationTask::endSpeed
bool ComponentAnimator::AnimationTask::isChangingAlpha
bool ComponentAnimator::AnimationTask::isMoving
double ComponentAnimator::AnimationTask::lastProgress
double ComponentAnimator::AnimationTask::left
double ComponentAnimator::AnimationTask::midSpeed
int ComponentAnimator::AnimationTask::msElapsed
int ComponentAnimator::AnimationTask::msTotal
ScopedPointer<Component> ComponentAnimator::AnimationTask::proxy
double ComponentAnimator::AnimationTask::right
double ComponentAnimator::AnimationTask::startSpeed
double ComponentAnimator::AnimationTask::top

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