|
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 | Start (bool forwards, float speed=1.0) |
| Initialise & start base animation. More... | |
| virtual void | Stop () |
| virtual void | SetSpeed (float speed) |
| virtual void | Pulse ()=0 |
| virtual void | Clear () |
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.
|
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().
|
overridepure virtual |
Implements AbstractAnimation.
Implemented in SequentialAnimation, and ParallelAnimation.
Referenced by GroupTransition::Pulse().
|
inlineoverridevirtual |
Reimplemented from AbstractAnimation.
Reimplemented in SequentialAnimation, and ParallelAnimation.
Definition at line 98 of file galleryslide.h.
Referenced by SequentialAnimation::SetSpeed(), ParallelAnimation::SetSpeed(), and GroupTransition::SetSpeed().
|
inlineoverridevirtual |
Initialise & start base animation.
| forwards | Direction |
| speed | Factor, 1 = real-time, 2 = double-time |
Reimplemented from AbstractAnimation.
Reimplemented in SequentialAnimation, and ParallelAnimation.
Definition at line 96 of file galleryslide.h.
Referenced by SequentialAnimation::Start(), ParallelAnimation::Start(), and GroupTransition::Start().
|
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().