|
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... | |
Public Member Functions inherited from Animation | |
| 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... | |
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 () |
Additional Inherited Members | |
Public Types inherited from Animation | |
| enum | Type : std::uint8_t { None , Alpha , Position , Zoom , HorizontalZoom , VerticalZoom , Angle } |
| Supported effects. More... | |
Signals inherited from AbstractAnimation | |
| void | finished () |
| Signals animation has finished. More... | |
Protected Slots inherited from AbstractAnimation | |
| virtual void | Finished () |
| To be called when animation completes. More... | |
Protected Attributes inherited from Animation | |
| 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() } |
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... | |
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 |