Go to the documentation of this file. 1 #ifndef MYTHUIPROCEDURAL_H
2 #define MYTHUIPROCEDURAL_H
18 void DrawSelf(
MythPainter* Painter,
int XOffset,
int YOffset,
int AlphaMod, QRect ClipRect)
override;
19 bool ParseElement(
const QString& FileName, QDomElement& Element,
bool ShowWarnings)
override;
22 void Pulse()
override;
bool ParseElement(const QString &FileName, QDomElement &Element, bool ShowWarnings) override
Parse the xml definition of this widget setting the state of the object accordingly.
void Finalize(void) override
Perform any post-xml parsing initialisation tasks.
std::shared_ptr< QByteArray > ShaderSource
The base class on which all widgets and screens are based.
void CreateCopy(MythUIType *Parent) override
Copy the state of this widget to the one given, it must be of the same type.
ShaderSource m_vertexSource
ShaderSource m_fragmentSource
MythUIProcedural(MythUIType *Parent, const QString &Name)
A procedural texture class.
void Pulse() override
Pulse is called 70 times a second to trigger a single frame of an animation.
static ShaderSource LoadShaderSource(const QString &filename)
void DrawSelf(MythPainter *Painter, int XOffset, int YOffset, int AlphaMod, QRect ClipRect) override
void CopyFrom(MythUIType *Base) override
Copy this widgets state from another.