ZoomAnimationBox is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

ZoomAnimationBox class

Syntax

class ZoomAnimationBox : public Box { public:     ZoomAnimationBox();     virtual ~ZoomAnimationBox();     void startZoomAnimation(int16_t endWidth, int16_t endHeight, uint16_t duration, touchgfx::EasingEquation widthProgressionEquation = &touchgfx::EasingEquations::linearEaseNone, EasingEquation heightProgressionEquation = &touchgfx::EasingEquations::linearEaseNone);     virtual void handleTickEvent();     void setAnimationEndedCallback(touchgfx::GenericCallback<const ZoomAnimationBox&>& callback) { animationEndedAction = &callback; } protected:     enum States     {         ANIMATE_ZOOM,         NO_ANIMATION     };     States currentState;     uint32_t animationCounter;     int16_t zoomAnimationStartWidth;     int16_t zoomAnimationStartHeight;     int16_t zoomAnimationEndWidth;     int16_t zoomAnimationEndHeight;     int16_t zoomAnimationStartX;     int16_t zoomAnimationStartY;     int16_t zoomAnimationDeltaX;     int16_t zoomAnimationDeltaY;     uint16_t animationDuration;     EasingEquation zoomAnimationWidthEquation;     EasingEquation zoomAnimationHeightEquation;     touchgfx::GenericCallback<const ZoomAnimationBox&>* animationEndedAction;     virtual void setCurrentState(States state); };

Fields

currentState

The current animation state. Read more...

animationCounter

The progress counter for the animation. Read more...

zoomAnimationStartWidth

Member variable for the current animation. Read more...

zoomAnimationStartHeight

Member variable for the current animation. Read more...

zoomAnimationEndWidth

Member variable for the current animation. Read more...

zoomAnimationEndHeight

Member variable for the current animation. Read more...

zoomAnimationStartX

Member variable for the current animation. Read more...

zoomAnimationStartY

Member variable for the current animation. Read more...

zoomAnimationDeltaX

Member variable for the current animation. Read more...

zoomAnimationDeltaY

Member variable for the current animation. Read more...

animationDuration

Member variable for the current animation. Read more...

zoomAnimationWidthEquation

Member variable for the current animation. Read more...

zoomAnimationHeightEquation

Member variable for the current animation. Read more...

animationEndedAction

Animation ended Callback. Read more...

Methods

startZoomAnimation()

No summary provided. Read more...

handleTickEvent()

No summary provided. Read more...

setAnimationEndedCallback()

Associates an action to be performed when the animation ends. @see GenericCallback. Read more...

setCurrentState()

Sets the current animation state. Read more...

Class Tree

Child classes
ZoomAnimationBox
all items filtered out