MythTV
master
|
#include <libmythui/mythuianimation.h>
Public Types | |
enum | Centre : std::uint8_t { TopLeft, Top, TopRight, Left, Middle, Right, BottomLeft, Bottom, BottomRight } |
Public Member Functions | |
UIEffects ()=default | |
QPointF | GetCentre (const QRect rect, int xoff, int yoff) const |
QRect | GetExtent (QSize size) const |
Public Attributes | |
int | m_alpha {255} |
float | m_hzoom {1.0F} |
float | m_vzoom {1.0F} |
float | m_angle {0.0F} |
Centre | m_centre {Middle} |
Definition at line 13 of file mythuianimation.h.
enum UIEffects::Centre : std::uint8_t |
Enumerator | |
---|---|
TopLeft | |
Top | |
TopRight | |
Left | |
Middle | |
Right | |
BottomLeft | |
Bottom | |
BottomRight |
Definition at line 16 of file mythuianimation.h.
|
default |
|
inline |
Definition at line 23 of file mythuianimation.h.
Referenced by MythUIType::Draw().
QRect UIEffects::GetExtent | ( | QSize | size | ) | const |
Definition at line 8 of file mythuianimation.cpp.
Referenced by MythUIImage::DrawSelf().
int UIEffects::m_alpha {255} |
Definition at line 40 of file mythuianimation.h.
Referenced by MythUIType::AdjustAlpha(), MythUIType::CalcAlpha(), MythUIType::GetAlpha(), MythUIType::HandleAlphaPulse(), MythUIType::ParseElement(), and MythUIType::SetAlpha().
float UIEffects::m_hzoom {1.0F} |
Definition at line 41 of file mythuianimation.h.
Referenced by MythVisualMonoScopeOpenGL::Draw(), GetExtent(), MythPainterVulkan::PushTransformation(), MythRenderOpenGL::PushTransformation(), MythUIType::SetHorizontalZoom(), and Slide::SetZoom().
float UIEffects::m_vzoom {1.0F} |
Definition at line 42 of file mythuianimation.h.
Referenced by MythVisualMonoScopeOpenGL::Draw(), GetExtent(), MythPainterVulkan::PushTransformation(), MythRenderOpenGL::PushTransformation(), MythUIType::SetVerticalZoom(), and Slide::SetZoom().
float UIEffects::m_angle {0.0F} |
Definition at line 43 of file mythuianimation.h.
Referenced by MythPainterVulkan::PushTransformation(), MythRenderOpenGL::PushTransformation(), and MythUIType::SetAngle().
Definition at line 44 of file mythuianimation.h.
Referenced by GetCentre(), GetExtent(), MythUIType::SetCentre(), and Slide::SetZoom().