#include <mainvisual.h>

Definition at line 53 of file mainvisual.h.
Public Member Functions | |
| VisualBase (bool screensaverenable=false) | |
| virtual | ~VisualBase (void) |
| virtual bool | process (VisualNode *node)=0 |
| virtual bool | draw (QPainter *, const QColor &)=0 |
| virtual void | resize (const QSize &size)=0 |
| virtual void | handleKeyPress (const QString &action)=0 |
| virtual int | getDesiredFPS (void) |
| void | drawWarning (QPainter *, const QColor &, const QSize &, QString) |
Protected Attributes | |
| int | fps |
| bool | xscreensaverenable |
| VisualBase::VisualBase | ( | bool | screensaverenable = false |
) |
Definition at line 42 of file mainvisual.cpp.
| VisualBase::~VisualBase | ( | void | ) | [virtual] |
Definition at line 49 of file mainvisual.cpp.
| virtual bool VisualBase::process | ( | VisualNode * | node | ) | [pure virtual] |
Implemented in BumpScope, Goom, LibVisualPlugin, StereoScope, MonoScope, Synaesthesia, Spectrum, AlbumArt, Blank, and Gears.
Referenced by MainVisual::timeout().
| virtual bool VisualBase::draw | ( | QPainter * | , | |
| const QColor & | ||||
| ) | [pure virtual] |
Implemented in BumpScope, Goom, LibVisualPlugin, StereoScope, MonoScope, Synaesthesia, Spectrum, AlbumArt, Blank, Squares, and Gears.
Referenced by MainVisual::timeout().
| virtual void VisualBase::resize | ( | const QSize & | size | ) | [pure virtual] |
Implemented in BumpScope, Goom, LibVisualPlugin, StereoScope, Synaesthesia, Spectrum, AlbumArt, Blank, Squares, and Gears.
Referenced by MainVisual::resizeEvent(), and MainVisual::setVisual().
| virtual void VisualBase::handleKeyPress | ( | const QString & | action | ) | [pure virtual] |
Implemented in BumpScope, Goom, LibVisualPlugin, StereoScope, Synaesthesia, Spectrum, AlbumArt, Blank, Squares, and Gears.
Referenced by PlaybackBoxMusic::keyPressEvent().
| virtual int VisualBase::getDesiredFPS | ( | void | ) | [inline, virtual] |
| void VisualBase::drawWarning | ( | QPainter * | p, | |
| const QColor & | back, | |||
| const QSize & | size, | |||
| QString | warning | |||
| ) |
Definition at line 60 of file mainvisual.cpp.
Referenced by Squares::draw(), AlbumArt::draw(), and Spectrum::draw().
int VisualBase::fps [protected] |
Definition at line 68 of file mainvisual.h.
Referenced by AlbumArt::AlbumArt(), Blank::Blank(), BumpScope::BumpScope(), Gears::Gears(), getDesiredFPS(), Goom::Goom(), LibVisualPlugin::LibVisualPlugin(), StereoScope::StereoScope(), and Synaesthesia::Synaesthesia().
bool VisualBase::xscreensaverenable [protected] |
1.5.5