|
Gin
|
Ticks all running Animated and Crossfade values on the vertical blank of the window they show in. More...
#include <gin_animated.h>
Inherits juce::AsyncUpdater, and juce::ComponentListener.
Public Member Functions | |
| AnimationDriver ()=default | |
| ~AnimationDriver () override | |
| void | add (AnimatedBase &a) |
| Starts ticking a value that just started a transition. | |
| void | remove (AnimatedBase &a) |
| Stops ticking a value; safe from inside a tick. | |
| void | finishAll () |
| Moves every running value to its target and stops it. | |
Ticks all running Animated and Crossfade values on the vertical blank of the window they show in.
Holds a juce::VBlankAttachment per window only while something in it animates, so it costs nothing when idle. Shared through a juce::SharedResourcePointer; used internally, there is no need to touch it.
|
default |
Referenced by finishAll().
|
override |
| void AnimationDriver::add | ( | AnimatedBase & | a | ) |
Starts ticking a value that just started a transition.
| void AnimationDriver::remove | ( | AnimatedBase & | a | ) |
Stops ticking a value; safe from inside a tick.
| void AnimationDriver::finishAll | ( | ) |
Moves every running value to its target and stops it.
References AnimationDriver().