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)
 
 ~Goom () override
 
void resize (const QSize &size) override
 
bool process (VisualNode *node) override
 
bool draw (QPainter *p, const QColor &back) override
 
void handleKeyPress ([[maybe_unused]] const QString &action) override
 
- Public Member Functions inherited from VisualBase
 VisualBase (bool screensaverenable=false)
 
virtual ~VisualBase (void)
 
virtual bool processUndisplayed (VisualNode *)
 
virtual void handleKeyPress (const QString &action)=0
 
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, 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 6 of file mythgoom.h.

Constructor & Destructor Documentation

◆ Goom()

Goom::Goom ( void  )

Definition at line 21 of file mythgoom.cpp.

◆ ~Goom()

Goom::~Goom ( )
override

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 88 of file mythgoom.cpp.

◆ handleKeyPress()

void Goom::handleKeyPress ( [[maybe_unused] ] const QString &  action)
inlineoverride

Definition at line 15 of file mythgoom.h.

Member Data Documentation

◆ m_size

QSize Goom::m_size
private

Definition at line 15 of file mythgoom.h.

Referenced by draw(), and resize().

◆ m_buffer

unsigned int* Goom::m_buffer {nullptr}
private

Definition at line 20 of file mythgoom.h.

Referenced by draw(), and process().

◆ m_scalew

int Goom::m_scalew {2}
private

Definition at line 21 of file mythgoom.h.

Referenced by draw(), Goom(), and resize().

◆ m_scaleh

int Goom::m_scaleh {2}
private

Definition at line 22 of file mythgoom.h.

Referenced by draw(), Goom(), and resize().


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