Go to the documentation of this file. 1 #ifndef MYTHUI_VIDEO_H_
2 #define MYTHUI_VIDEO_H_
21 void UpdateFrame(QPixmap *pixmap);
25 void Reset(
void)
override;
26 void Pulse(
void)
override;
30 int alphaMod, QRect clipRect)
override;
33 bool showWarnings)
override;
38 QColor m_backgroundColor {Qt::black};
virtual void Pulse(void)
Pulse is called 70 times a second to trigger a single frame of an animation.
virtual void CreateCopy(MythUIType *parent)
Copy the state of this widget to the one given, it must be of the same type.
virtual void DrawSelf(MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect)
virtual void CopyFrom(MythUIType *base)
Copy this widgets state from another.
virtual void Reset(void)
Reset the widget to it's original state, should not reset changes made by the theme.
The base class on which all widgets and screens are based.
Video widget, displays raw image data.
QColor GetBackgroundColor(void)
virtual bool ParseElement(const QString &filename, QDomElement &element, bool showWarnings)
Parse the xml definition of this widget setting the state of the object accordingly.