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;
void Pulse() override
Pulse is called 70 times a second to trigger a single frame of an animation.
MythUIProcedural(MythUIType *Parent, const QString &Name)
A procedural texture class.
void Finalize(void) override
Perform any post-xml parsing initialisation tasks.
void CopyFrom(MythUIType *Base) override
Copy this widgets state from another.
void CreateCopy(MythUIType *Parent) override
Copy the state of this widget to the one given, it must be of the same type.
static ShaderSource LoadShaderSource(const QString &filename)
ShaderSource m_fragmentSource
ShaderSource m_vertexSource
void DrawSelf(MythPainter *Painter, int XOffset, int YOffset, int AlphaMod, QRect ClipRect) 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.
The base class on which all widgets and screens are based.
std::shared_ptr< QByteArray > ShaderSource