MythTV
master
|
Abstract class for groups of animations. More...
#include <mythfrontend/galleryslide.h>
Public Member Functions | |
GroupAnimation ()=default | |
~GroupAnimation () override | |
void | Pulse () override=0 |
void | Start (bool forwards, float speed=1.0) override |
Initialise & start base animation. More... | |
void | SetSpeed (float speed) override |
virtual void | Add (AbstractAnimation *child) |
Add child animation to group. More... | |
void | Clear () override |
Delete all child animations. More... | |
Public Member Functions inherited from AbstractAnimation | |
AbstractAnimation ()=default | |
virtual void | Stop () |
Protected Attributes | |
QList< AbstractAnimation * > | m_group |
Protected Attributes inherited from AbstractAnimation | |
bool | m_forwards {true} |
Play direction. More... | |
bool | m_running {false} |
True whilst animation is active. More... | |
float | m_speed {0.0F} |
Real-time = 1.0, Double-speed = 2.0. More... | |
Additional Inherited Members | |
Signals inherited from AbstractAnimation | |
void | finished () |
Signals animation has finished. More... | |
Protected Slots inherited from AbstractAnimation | |
virtual void | Finished () |
To be called when animation completes. More... | |
Abstract class for groups of animations.
Definition at line 90 of file galleryslide.h.
|
default |
|
inlineoverride |
Definition at line 94 of file galleryslide.h.
|
overridepure virtual |
Implements AbstractAnimation.
Implemented in ParallelAnimation, and SequentialAnimation.
Referenced by GroupTransition::Pulse().
|
inlineoverridevirtual |
Initialise & start base animation.
forwards | Direction |
speed | Factor, 1 = real-time, 2 = double-time |
Reimplemented from AbstractAnimation.
Reimplemented in ParallelAnimation, and SequentialAnimation.
Definition at line 96 of file galleryslide.h.
Referenced by GroupTransition::Start(), SequentialAnimation::Start(), and ParallelAnimation::Start().
|
inlineoverridevirtual |
Reimplemented from AbstractAnimation.
Reimplemented in ParallelAnimation, and SequentialAnimation.
Definition at line 98 of file galleryslide.h.
Referenced by GroupTransition::SetSpeed(), SequentialAnimation::SetSpeed(), and ParallelAnimation::SetSpeed().
|
virtual |
Add child animation to group.
child |
Definition at line 126 of file galleryslide.cpp.
Referenced by TransitionBlend::Initialise(), TransitionTwist::Initialise(), TransitionSlide::Initialise(), TransitionZoom::Initialise(), and TransitionSpin::Initialise().
|
overridevirtual |
Delete all child animations.
Reimplemented from AbstractAnimation.
Definition at line 137 of file galleryslide.cpp.
Referenced by GroupTransition::Start(), and ~GroupAnimation().
|
protected |
Definition at line 104 of file galleryslide.h.
Referenced by Add(), Clear(), SequentialAnimation::Finished(), SequentialAnimation::Pulse(), ParallelAnimation::Pulse(), SequentialAnimation::SetSpeed(), ParallelAnimation::SetSpeed(), SequentialAnimation::Start(), and ParallelAnimation::Start().