MythTV
master
|
Specialised animation for panning slideshow images (MythUI doesn't support panning) More...
#include <mythfrontend/galleryslide.h>
Public Member Functions | |
PanAnimation (Slide *image) | |
void | updateCurrentValue (const QVariant &value) override |
Update pan value. More... | |
![]() | |
Animation (Slide *image, Type type=Alpha) | |
Create simple animation. More... | |
void | Start (bool forwards=true, float speed=1.0) override |
Start a single animation. More... | |
void | Pulse () override |
Progress single animation. More... | |
void | Set (const QVariant &from, const QVariant &to, std::chrono::milliseconds duration=500ms, const QEasingCurve &curve=QEasingCurve::InOutCubic, UIEffects::Centre centre=UIEffects::Middle) |
Initialises an animation. More... | |
void | updateCurrentValue (const QVariant &value) override |
Update animated value. More... | |
![]() | |
AbstractAnimation ()=default | |
virtual void | Stop () |
virtual void | SetSpeed (float speed) |
virtual void | Clear () |
Additional Inherited Members | |
![]() | |
enum | Type : std::uint8_t { None, Alpha, Position, Zoom, HorizontalZoom, VerticalZoom, Angle } |
Supported effects. More... | |
![]() | |
void | finished () |
Signals animation has finished. More... | |
![]() | |
virtual void | Finished () |
To be called when animation completes. More... | |
![]() | |
Slide * | m_parent {nullptr} |
Image to be animated. More... | |
Type | m_type |
UIEffects::Centre | m_centre {UIEffects::Middle} |
std::chrono::milliseconds | m_elapsed {0ms} |
Current millisec position within animation, 0..duration. More... | |
std::chrono::milliseconds | m_lastUpdate { MythDate::currentMSecsSinceEpochAsDuration() } |
![]() | |
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... | |
Specialised animation for panning slideshow images (MythUI doesn't support panning)
Definition at line 147 of file galleryslide.h.
|
inlineexplicit |
Definition at line 150 of file galleryslide.h.
|
override |