LMMS
Loading...
Searching...
No Matches
juce::ComponentAnimator::AnimationTask Class Reference

Classes

struct  ProxyComponent

Public Member Functions

 AnimationTask (Component *c) noexcept
 ~AnimationTask ()
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
Component::SafePointer< 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

Private Member Functions

double timeToDistance (const double time) const noexcept

Constructor & Destructor Documentation

◆ AnimationTask()

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

◆ ~AnimationTask()

juce::ComponentAnimator::AnimationTask::~AnimationTask ( )
inline

Member Function Documentation

◆ moveToFinalDestination()

void juce::ComponentAnimator::AnimationTask::moveToFinalDestination ( )
inline

◆ reset()

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

◆ timeToDistance()

double juce::ComponentAnimator::AnimationTask::timeToDistance ( const double time) const
inlineprivatenoexcept

◆ useTimeslice()

bool juce::ComponentAnimator::AnimationTask::useTimeslice ( const int elapsed)
inline

Member Data Documentation

◆ alpha

double juce::ComponentAnimator::AnimationTask::alpha

◆ bottom

double juce::ComponentAnimator::AnimationTask::bottom

◆ component

WeakReference<Component> juce::ComponentAnimator::AnimationTask::component

◆ destAlpha

double juce::ComponentAnimator::AnimationTask::destAlpha

◆ destination

Rectangle<int> juce::ComponentAnimator::AnimationTask::destination

◆ endSpeed

double juce::ComponentAnimator::AnimationTask::endSpeed

◆ isChangingAlpha

bool juce::ComponentAnimator::AnimationTask::isChangingAlpha

◆ isMoving

bool juce::ComponentAnimator::AnimationTask::isMoving

◆ lastProgress

double juce::ComponentAnimator::AnimationTask::lastProgress

◆ left

double juce::ComponentAnimator::AnimationTask::left

◆ midSpeed

double juce::ComponentAnimator::AnimationTask::midSpeed

◆ msElapsed

int juce::ComponentAnimator::AnimationTask::msElapsed

◆ msTotal

int juce::ComponentAnimator::AnimationTask::msTotal

◆ proxy

Component::SafePointer<Component> juce::ComponentAnimator::AnimationTask::proxy

◆ right

double juce::ComponentAnimator::AnimationTask::right

◆ startSpeed

double juce::ComponentAnimator::AnimationTask::startSpeed

◆ top

double juce::ComponentAnimator::AnimationTask::top

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