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 
6 class 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;
23  bool m_hd;
24 };
25 
26 #endif
MythGLTexture
Definition: mythrenderopengl.h:59
VideoVisualGoom::VideoVisualGoom
VideoVisualGoom(AudioPlayer *Audio, MythRender *Render, bool HD)
Definition: videovisualgoom.cpp:13
VideoVisualGoom::m_hd
bool m_hd
Definition: videovisualgoom.h:23
AudioPlayer
Definition: audioplayer.h:28
GOOMHD_NAME
#define GOOMHD_NAME
Definition: videovisualgoom.h:9
VideoVisualGoom::m_glSurface
MythGLTexture * m_glSurface
Definition: videovisualgoom.h:22
VideoVisualGoom::Name
QString Name(void) override
Definition: videovisualgoom.h:18
Device
A device containing images (ie. USB stick, CD, storage group etc)
Definition: imagemanager.cpp:33
MythRender
Definition: mythrender_base.h:23
MythPainter
Definition: mythpainter.h:32
VideoVisualGoom
Definition: videovisualgoom.h:11
VideoVisualGoom::m_buffer
unsigned int * m_buffer
Definition: videovisualgoom.h:21
GOOM_NAME
#define GOOM_NAME
Definition: videovisualgoom.h:8
VideoVisualGoom::Draw
void Draw(QRect Area, MythPainter *Painter, QPaintDevice *Device) override
Definition: videovisualgoom.cpp:45
videovisual.h
VideoVisual
Definition: videovisual.h:42
VideoVisualGoom::~VideoVisualGoom
~VideoVisualGoom() override
Definition: videovisualgoom.cpp:30