MythTV
master
|
Abstract class implementing sequential & parallel animations. More...
#include <mythfrontend/gallerytransitions.h>
Public Member Functions | |
GroupTransition (GroupAnimation *animation, const QString &name) | |
Create group transition. More... | |
~GroupTransition () override | |
Destroy group transition. More... | |
void | Start (Slide &from, Slide &to, bool forwards, float speed=1.0) override |
Start group transition. More... | |
void | SetSpeed (float speed) override |
Change transition speed. More... | |
void | Pulse () override |
Update group transition. More... | |
void | Initialise () override=0 |
void | Finalise () override=0 |
Public Member Functions inherited from Transition | |
Transition (const QString &name) | |
~Transition () override=default | |
Protected Attributes | |
GroupAnimation * | m_animation {nullptr} |
Protected Attributes inherited from Transition | |
std::chrono::milliseconds | m_duration {1s} |
Seconds transition will last. More... | |
Slide * | m_old {nullptr} |
The image currently displayed, which will be replaced (whatever the transition direction) More... | |
Slide * | m_new {nullptr} |
The new image that will replace the current one (whatever the transition direction) More... | |
Slide * | m_prev {nullptr} |
The image occurring earlier in the slideshow sequence. More... | |
Slide * | m_next {nullptr} |
The image occurring later in the slideshow sequence. More... | |
Additional Inherited Members | |
Signals inherited from Transition | |
void | finished () |
Protected Slots inherited from Transition | |
virtual void | Finished () |
Transition has completed. More... | |
Abstract class implementing sequential & parallel animations.
Definition at line 84 of file gallerytransitions.h.
GroupTransition::GroupTransition | ( | GroupAnimation * | animation, |
const QString & | name | ||
) |
Create group transition.
animation | Group animation |
name | The name for this transition. This string will be used in log messages. |
Definition at line 144 of file gallerytransitions.cpp.
|
override |
Destroy group transition.
Definition at line 155 of file gallerytransitions.cpp.
|
overridevirtual |
Start group transition.
from | Image currently displayed |
to | Image to be displayed |
forwards | Direction |
speed | Factor, 1.0 = real-time |
Reimplemented from Transition.
Definition at line 169 of file gallerytransitions.cpp.
|
overridevirtual |
Change transition speed.
speed | Factor, 1x, 2x etc. |
Reimplemented from Transition.
Definition at line 186 of file gallerytransitions.cpp.
|
overridevirtual |
Update group transition.
Implements Transition.
Definition at line 195 of file gallerytransitions.cpp.
|
overridepure virtual |
Reimplemented from Transition.
Implemented in TransitionSpin, TransitionZoom, TransitionSlide, TransitionTwist, and TransitionBlend.
|
overridepure virtual |
Reimplemented from Transition.
Implemented in TransitionSpin, TransitionZoom, TransitionSlide, TransitionTwist, and TransitionBlend.
|
protected |
Definition at line 97 of file gallerytransitions.h.
Referenced by GroupTransition(), TransitionBlend::Initialise(), TransitionTwist::Initialise(), TransitionSlide::Initialise(), TransitionZoom::Initialise(), TransitionSpin::Initialise(), Pulse(), SetSpeed(), Start(), and ~GroupTransition().