MythTV
master
|
Switches images instantly with no effects. More...
#include <mythfrontend/gallerytransitions.h>
Public Member Functions | |
TransitionNone () | |
void | Start (Slide &from, Slide &to, bool forwards, float speed=1.0) override |
Switch images. More... | |
void | Pulse () override |
Public Member Functions inherited from Transition | |
Transition (const QString &name) | |
~Transition () override=default | |
virtual void | SetSpeed (float) |
virtual void | Initialise () |
virtual void | Finalise () |
Additional Inherited Members | |
Signals inherited from Transition | |
void | finished () |
Protected Slots inherited from Transition | |
virtual void | Finished () |
Transition has completed. More... | |
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... | |
Switches images instantly with no effects.
Definition at line 73 of file gallerytransitions.h.
|
inline |
Definition at line 76 of file gallerytransitions.h.
|
overridevirtual |
Switch images.
from | Image currently displayed |
to | Image to be displayed |
forwards | Direction |
speed | Factor, 1.0 = real-time |
Reimplemented from Transition.
Definition at line 128 of file gallerytransitions.cpp.
|
inlineoverridevirtual |
Implements Transition.
Definition at line 79 of file gallerytransitions.h.