MythTV  master
mythgoom.h
Go to the documentation of this file.
1 #ifndef MYTHGOOM
2 #define MYTHGOOM
3 
4 #include "mainvisual.h"
5 #include "config.h"
6 
7 using namespace std;
8 
9 class Goom : public VisualBase
10 {
11 public:
12  Goom(void);
13  virtual ~Goom();
14 
15  void resize(const QSize &size) override; // VisualBase
16  bool process(VisualNode *node) override; // VisualBase
17  bool draw(QPainter *p, const QColor &back) override; // VisualBase
18  void handleKeyPress(const QString &action) override // VisualBase
19  {(void) action;}
20 
21 private:
22  QSize m_size;
23 
24  unsigned int *m_buffer {nullptr};
25  int m_scalew {2};
26  int m_scaleh {2};
27 };
28 
29 #endif //MYTHGOOM
QSize m_size
Definition: mythgoom.h:22
Definition: mythgoom.h:9
void handleKeyPress(const QString &action) override
Definition: mythgoom.h:18
static guint32 * back
Definition: goom_core.c:34