MythTV master
Public Member Functions | List of all members
MonoScope Class Reference

#include <mythplugins/mythmusic/mythmusic/visualize.h>

Inheritance diagram for MonoScope:
[legend]
Collaboration diagram for MonoScope:
[legend]

Public Member Functions

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

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 StereoScope
QColor m_startColor {Qt::yellow}
 
QColor m_targetColor {Qt::red}
 
std::vector< double > m_magnitudes
 
QSize m_size
 
bool const m_rubberband {RUBBERBAND}
 
double const m_falloff {1.0}
 
- Protected Attributes inherited from VisualBase
int m_fps {20}
 
bool m_xscreensaverenable {true}
 

Detailed Description

Definition at line 131 of file visualize.h.

Constructor & Destructor Documentation

◆ MonoScope()

MonoScope::MonoScope ( )
default

◆ ~MonoScope()

MonoScope::~MonoScope ( )
overridedefault

Member Function Documentation

◆ draw()

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

Reimplemented from StereoScope.

Definition at line 551 of file visualize.cpp.

◆ process()

bool MonoScope::process ( VisualNode node)
overridevirtual

Reimplemented from StereoScope.

Definition at line 460 of file visualize.cpp.


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