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

#include <mythgoom.h>

Inheritance diagram for Goom:
Inheritance graph
Collaboration diagram for Goom:
Collaboration graph

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)
void drawWarning (QPainter *p, const QColor &back, const QSize &size, const QString &warning, int fontsize=28)

Private Attributes

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

Additional Inherited Members

- 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 ( )

Definition at line 42 of file mythgoom.cpp.

Member Function Documentation

◆ resize()

void Goom::resize ( const QSize &  size)

Implements VisualBase.

Definition at line 47 of file mythgoom.cpp.

◆ process()

bool Goom::process ( VisualNode node)

Implements VisualBase.

Definition at line 62 of file mythgoom.cpp.

◆ draw()

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

Implements VisualBase.

Definition at line 94 of file mythgoom.cpp.

◆ handleKeyPress()

void Goom::handleKeyPress ( const QString &  action)

Implements VisualBase.

Definition at line 18 of file mythgoom.h.

Member Data Documentation

◆ m_size

QSize Goom::m_size

Definition at line 22 of file mythgoom.h.

◆ m_buffer

unsigned int* Goom::m_buffer {nullptr}

Definition at line 24 of file mythgoom.h.

◆ m_scalew

int Goom::m_scalew {2}

Definition at line 25 of file mythgoom.h.

◆ m_scaleh

int Goom::m_scaleh {2}

Definition at line 26 of file mythgoom.h.

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