MythTV  master
Public Member Functions | Private Attributes | List of all members
Goom Class Reference

#include <mythgoom.h>

Inheritance diagram for Goom:
Inheritance graph
[legend]
Collaboration diagram for Goom:
Collaboration graph
[legend]

Public Member Functions

 Goom (void)
 
virtual ~Goom ()
 
void resize (const QSize &size) override
 
bool process (VisualNode *node) override
 
bool draw (QPainter *p, const QColor &back) override
 
void handleKeyPress (const QString &action) override
 
- Public Member Functions inherited from VisualBase
 VisualBase (bool screensaverenable=false)
 
virtual ~VisualBase (void)
 
virtual bool processUndisplayed (VisualNode *)
 
virtual int getDesiredFPS (void)
 
virtual unsigned long getDesiredSamples (void)
 

Private Attributes

QSize m_size
 
unsigned int * m_buffer {nullptr}
 
int m_scalew {2}
 
int m_scaleh {2}
 

Additional Inherited Members

- Static Public Member Functions inherited from VisualBase
static void drawWarning (QPainter *p, const QColor &back, const QSize &size, const QString &warning, int fontsize=28)
 
- Protected Attributes inherited from VisualBase
int m_fps {20}
 
bool m_xscreensaverenable {true}
 

Detailed Description

Definition at line 9 of file mythgoom.h.

Constructor & Destructor Documentation

◆ Goom()

Goom::Goom ( void  )

Definition at line 21 of file mythgoom.cpp.

◆ ~Goom()

Goom::~Goom ( )
virtual

Definition at line 42 of file mythgoom.cpp.

Member Function Documentation

◆ resize()

void Goom::resize ( const QSize &  size)
overridevirtual

Implements VisualBase.

Definition at line 47 of file mythgoom.cpp.

◆ process()

bool Goom::process ( VisualNode node)
overridevirtual

Implements VisualBase.

Definition at line 62 of file mythgoom.cpp.

◆ draw()

bool Goom::draw ( QPainter *  p,
const QColor &  back 
)
overridevirtual

Implements VisualBase.

Definition at line 94 of file mythgoom.cpp.

◆ handleKeyPress()

void Goom::handleKeyPress ( const QString &  action)
inlineoverridevirtual

Implements VisualBase.

Definition at line 18 of file mythgoom.h.

Member Data Documentation

◆ m_size

QSize Goom::m_size
private

Definition at line 22 of file mythgoom.h.

◆ m_buffer

unsigned int* Goom::m_buffer {nullptr}
private

Definition at line 24 of file mythgoom.h.

◆ m_scalew

int Goom::m_scalew {2}
private

Definition at line 25 of file mythgoom.h.

◆ m_scaleh

int Goom::m_scaleh {2}
private

Definition at line 26 of file mythgoom.h.


The documentation for this class was generated from the following files: