MythTV  master
Public Member Functions | List of all members
TransitionNone Class Reference

Switches images instantly with no effects. More...

#include <gallerytransitions.h>

Inheritance diagram for TransitionNone:
Inheritance graph
[legend]
Collaboration diagram for TransitionNone:
Collaboration graph
[legend]

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...
 
Slidem_old {nullptr}
 The image currently displayed, which will be replaced (whatever the transition direction) More...
 
Slidem_new {nullptr}
 The new image that will replace the current one (whatever the transition direction) More...
 
Slidem_prev {nullptr}
 The image occurring earlier in the slideshow sequence. More...
 
Slidem_next {nullptr}
 The image occurring later in the slideshow sequence. More...
 

Detailed Description

Switches images instantly with no effects.

Definition at line 73 of file gallerytransitions.h.

Constructor & Destructor Documentation

◆ TransitionNone()

TransitionNone::TransitionNone ( )
inline

Definition at line 76 of file gallerytransitions.h.

Member Function Documentation

◆ Start()

void TransitionNone::Start ( Slide from,
Slide to,
bool  forwards,
float  speed = 1.0 
)
overridevirtual

Switch images.

Parameters
fromImage currently displayed
toImage to be displayed
forwardsDirection
speedFactor, 1.0 = real-time

Reimplemented from Transition.

Definition at line 128 of file gallerytransitions.cpp.

◆ Pulse()

void TransitionNone::Pulse ( )
inlineoverridevirtual

Implements Transition.

Definition at line 79 of file gallerytransitions.h.


The documentation for this class was generated from the following files: