|
MythTV master
|
A group of animations to be played simultaneously. More...
#include <mythfrontend/galleryslide.h>
Public Member Functions | |
| ParallelAnimation ()=default | |
| void | Pulse () override |
| Progress parallel animations. More... | |
| void | Start (bool forwards, float speed=1.0) override |
| Start parallel group. All children play simultaneously. More... | |
| void | SetSpeed (float speed) override |
| Change speed of group and all child animations. More... | |
Public Member Functions inherited from GroupAnimation | |
| 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 Slots | |
| void | Finished () override |
| A child animation has completed. More... | |
Protected Slots inherited from AbstractAnimation | |
| virtual void | Finished () |
| To be called when animation completes. More... | |
Protected Attributes | |
| int | m_finished {0} |
| Count of child animations that have finished. More... | |
Protected Attributes inherited from GroupAnimation | |
| 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... | |
A group of animations to be played simultaneously.
Definition at line 128 of file galleryslide.h.
|
default |
|
overrideprotectedslot |
A child animation has completed.
Definition at line 266 of file galleryslide.cpp.
|
overridevirtual |
Progress parallel animations.
Implements GroupAnimation.
Definition at line 220 of file galleryslide.cpp.
|
overridevirtual |
Change speed of group and all child animations.
| speed | New speed factor |
Reimplemented from GroupAnimation.
Definition at line 254 of file galleryslide.cpp.
|
overridevirtual |
Start parallel group. All children play simultaneously.
| forwards | Direction |
| speed | Factor, 1x, 2x etc |
Reimplemented from GroupAnimation.
Definition at line 236 of file galleryslide.cpp.
|
protected |
Count of child animations that have finished.
Definition at line 141 of file galleryslide.h.
Referenced by Finished(), and Start().