#include <mythuiimage.h>

Definition at line 13 of file mythuiimage.h.
Public Member Functions | |
| MythUIImage (const QString &filepattern, int low, int high, int delayms, MythUIType *parent, const char *name) | |
| MythUIImage (const QString &filename, MythUIType *parent, const char *name) | |
| MythUIImage (MythUIType *parent, const char *name) | |
| ~MythUIImage () | |
| void | SetFilename (const QString &filename) |
| void | SetFilepattern (const QString &filepattern, int low, int high) |
| void | SetDelay (int delayms) |
| void | ResetFilename () |
| void | SetImage (MythImage *img) |
| void | SetImages (QValueVector< MythImage * > &images) |
| void | SetSize (int width, int height) |
| void | SetSkip (int x, int y) |
| void | Reset (void) |
| void | Load (void) |
| virtual void | Pulse (void) |
Protected Member Functions | |
| virtual void | DrawSelf (MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect) |
| void | Init (void) |
| void | Clear (void) |
| virtual bool | ParseElement (QDomElement &element) |
| virtual void | CopyFrom (MythUIType *base) |
| virtual void | CreateCopy (MythUIType *parent) |
| virtual void | Finalize (void) |
Protected Attributes | |
| QString | m_Filename |
| QString | m_OrigFilename |
| QValueVector< MythImage * > | m_Images |
| QPoint | m_Skip |
| QSize | m_ForceSize |
| int | m_Delay |
| int | m_LowNum |
| int | m_HighNum |
| unsigned int | m_CurPos |
| QTime | m_LastDisplay |
| bool | m_NeedLoad |
| MythUIImage::MythUIImage | ( | const QString & | filepattern, | |
| int | low, | |||
| int | high, | |||
| int | delayms, | |||
| MythUIType * | parent, | |||
| const char * | name | |||
| ) |
| MythUIImage::MythUIImage | ( | const QString & | filename, | |
| MythUIType * | parent, | |||
| const char * | name | |||
| ) |
Definition at line 26 of file mythuiimage.cpp.
| MythUIImage::MythUIImage | ( | MythUIType * | parent, | |
| const char * | name | |||
| ) |
Definition at line 40 of file mythuiimage.cpp.
| MythUIImage::~MythUIImage | ( | ) |
Definition at line 50 of file mythuiimage.cpp.
| void MythUIImage::SetFilename | ( | const QString & | filename | ) |
Definition at line 73 of file mythuiimage.cpp.
| void MythUIImage::SetFilepattern | ( | const QString & | filepattern, | |
| int | low, | |||
| int | high | |||
| ) |
Definition at line 78 of file mythuiimage.cpp.
| void MythUIImage::SetDelay | ( | int | delayms | ) |
Definition at line 86 of file mythuiimage.cpp.
| void MythUIImage::ResetFilename | ( | void | ) |
Definition at line 93 of file mythuiimage.cpp.
| void MythUIImage::SetImage | ( | MythImage * | img | ) |
Definition at line 99 of file mythuiimage.cpp.
Referenced by MythUIStateType::AddImage(), MythUIButton::SetButtonImage(), MythUIButton::SetRightArrowImage(), MythThemedMenuPrivate::SetupBackground(), and MythThemedMenuPrivate::SetupUITypes().
| void MythUIImage::SetImages | ( | QValueVector< MythImage * > & | images | ) |
| void MythUIImage::SetSize | ( | int | width, | |
| int | height | |||
| ) |
Definition at line 129 of file mythuiimage.cpp.
Referenced by MythThemeBase::Init(), and MythThemeBase::Reload().
| void MythUIImage::SetSkip | ( | int | x, | |
| int | y | |||
| ) |
Definition at line 134 of file mythuiimage.cpp.
| void MythUIImage::Reset | ( | void | ) |
Definition at line 176 of file mythuiimage.cpp.
| void MythUIImage::Load | ( | void | ) |
Definition at line 139 of file mythuiimage.cpp.
Referenced by Finalize(), MythThemeBase::Init(), MythThemeBase::Reload(), and ResetFilename().
| void MythUIImage::Pulse | ( | void | ) | [virtual] |
| void MythUIImage::DrawSelf | ( | MythPainter * | p, | |
| int | xoffset, | |||
| int | yoffset, | |||
| int | alphaMod, | |||
| QRect | clipRect | |||
| ) | [protected, virtual] |
| void MythUIImage::Init | ( | void | ) | [protected] |
| void MythUIImage::Clear | ( | void | ) | [protected] |
Definition at line 55 of file mythuiimage.cpp.
Referenced by Load(), Reset(), SetImage(), SetImages(), and ~MythUIImage().
| bool MythUIImage::ParseElement | ( | QDomElement & | element | ) | [protected, virtual] |
| void MythUIImage::CopyFrom | ( | MythUIType * | base | ) | [protected, virtual] |
Reimplemented from MythUIType.
Definition at line 244 of file mythuiimage.cpp.
Referenced by CreateCopy().
| void MythUIImage::CreateCopy | ( | MythUIType * | parent | ) | [protected, virtual] |
| void MythUIImage::Finalize | ( | void | ) | [protected, virtual] |
QString MythUIImage::m_Filename [protected] |
Definition at line 54 of file mythuiimage.h.
Referenced by CopyFrom(), Load(), MythUIImage(), ParseElement(), ResetFilename(), SetFilename(), and SetFilepattern().
QString MythUIImage::m_OrigFilename [protected] |
Definition at line 55 of file mythuiimage.h.
Referenced by CopyFrom(), MythUIImage(), ParseElement(), and ResetFilename().
QValueVector<MythImage *> MythUIImage::m_Images [protected] |
Definition at line 57 of file mythuiimage.h.
Referenced by Clear(), CopyFrom(), DrawSelf(), Load(), Pulse(), SetImage(), and SetImages().
QPoint MythUIImage::m_Skip [protected] |
Definition at line 59 of file mythuiimage.h.
Referenced by CopyFrom(), DrawSelf(), Init(), ParseElement(), and SetSkip().
QSize MythUIImage::m_ForceSize [protected] |
Definition at line 60 of file mythuiimage.h.
Referenced by CopyFrom(), Init(), Load(), ParseElement(), and SetSize().
int MythUIImage::m_Delay [protected] |
Definition at line 62 of file mythuiimage.h.
Referenced by CopyFrom(), MythUIImage(), ParseElement(), Pulse(), SetDelay(), and SetImage().
int MythUIImage::m_LowNum [protected] |
Definition at line 63 of file mythuiimage.h.
Referenced by CopyFrom(), Load(), MythUIImage(), ParseElement(), and SetFilepattern().
int MythUIImage::m_HighNum [protected] |
Definition at line 64 of file mythuiimage.h.
Referenced by CopyFrom(), Load(), MythUIImage(), ParseElement(), and SetFilepattern().
unsigned int MythUIImage::m_CurPos [protected] |
Definition at line 66 of file mythuiimage.h.
Referenced by CopyFrom(), DrawSelf(), Init(), Pulse(), SetDelay(), SetImage(), and SetImages().
QTime MythUIImage::m_LastDisplay [protected] |
Definition at line 67 of file mythuiimage.h.
Referenced by CopyFrom(), Init(), Load(), Pulse(), and SetDelay().
bool MythUIImage::m_NeedLoad [protected] |
1.5.5