MythTV master
videovisualgoom.h
Go to the documentation of this file.
1#ifndef VIDEOVISUALGOOM_H
2#define VIDEOVISUALGOOM_H
3
4#include "videovisual.h"
5
6class MythGLTexture;
7
8#define GOOM_NAME QString("Goom")
9#define GOOMHD_NAME QString("Goom HD")
10
12{
13 public:
14 VideoVisualGoom(AudioPlayer* Audio, MythRender* Render, bool HD);
15 ~VideoVisualGoom() override;
16
17 void Draw(QRect Area, MythPainter* Painter, QPaintDevice* Device) override;
18 QString Name(void) override { return m_hd ? GOOMHD_NAME : GOOM_NAME; }
19
20 private:
21 unsigned int* m_buffer { nullptr };
23 bool m_hd { false };
24};
25
26#endif
A device containing images (ie. USB stick, CD, storage group etc)
VideoVisualGoom(AudioPlayer *Audio, MythRender *Render, bool HD)
void Draw(QRect Area, MythPainter *Painter, QPaintDevice *Device) override
QString Name(void) override
~VideoVisualGoom() override
unsigned int * m_buffer
MythGLTexture * m_glSurface
#define GOOMHD_NAME
#define GOOM_NAME