MythTV  master
mythgoom.h
Go to the documentation of this file.
1 #ifndef MYTHGOOM
2 #define MYTHGOOM
3 
4 #include "mainvisual.h"
5 
6 class Goom : public VisualBase
7 {
8 public:
9  Goom(void);
10  ~Goom() override;
11 
12  void resize(const QSize &size) override; // VisualBase
13  bool process(VisualNode *node) override; // VisualBase
14  bool draw(QPainter *p, const QColor &back) override; // VisualBase
15  void handleKeyPress([[maybe_unused]] const QString &action) override {}; // VisualBase
16 
17 private:
18  QSize m_size;
19 
20  unsigned int *m_buffer {nullptr};
21  int m_scalew {2};
22  int m_scaleh {2};
23 };
24 
25 #endif //MYTHGOOM
back
static guint32 * back
Definition: goom_core.cpp:25
VisualNode
Definition: videovisual.h:25
Goom::m_buffer
unsigned int * m_buffer
Definition: mythgoom.h:20
Goom::resize
void resize(const QSize &size) override
Definition: mythgoom.cpp:47
Goom
Definition: mythgoom.h:6
Goom::Goom
Goom(void)
Definition: mythgoom.cpp:21
VisualBase
Definition: visualize.h:62
hardwareprofile.config.p
p
Definition: config.py:33
Goom::m_scaleh
int m_scaleh
Definition: mythgoom.h:22
Goom::m_scalew
int m_scalew
Definition: mythgoom.h:21
Goom::process
bool process(VisualNode *node) override
Definition: mythgoom.cpp:62
Goom::draw
bool draw(QPainter *p, const QColor &back) override
Definition: mythgoom.cpp:88
Goom::~Goom
~Goom() override
Definition: mythgoom.cpp:42
Goom::handleKeyPress
void handleKeyPress([[maybe_unused]] const QString &action) override
Definition: mythgoom.h:15
mainvisual.h
build_compdb.action
action
Definition: build_compdb.py:9
Goom::m_size
QSize m_size
Definition: mythgoom.h:15