Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

QwavBackgroundLayer Class Reference

View layer that paints the background. More...

#include <qwavbackgroundlayer.h>

Inheritance diagram for QwavBackgroundLayer:

Inheritance graph
Collaboration diagram for QwavBackgroundLayer:

Collaboration graph
List of all members.

Public Methods

 QwavBackgroundLayer ()
virtual ~QwavBackgroundLayer ()
virtual void paintLayer (QwavWaveView *v, const QRect &rect)
virtual const string getName () const
const QColor & getBgColor () const
void setBgColor (const QColor &)
bool useBgPixmap () const
void setUseBgPixmap (bool)

Detailed Description

View layer that paints the background.

Peter Eschler

Member Function Documentation

const QColor & QwavBackgroundLayer::getBgColor   const

Returns the current background color.

the current background color

virtual const string QwavBackgroundLayer::getName   const [inline, virtual]

Returns the name of this layer.

Implements QwavViewLayer.

void QwavBackgroundLayer::paintLayer QwavWaveView   v,
const QRect &    rect

Paints the background (solid color) by filling the backbuffer pixmap.

v  the WaveView instance to paint on
rect  the rectangle area to draw (not recognized,yet)
optimize this by taking into accout rect

Implements QwavViewLayer.

void QwavBackgroundLayer::setBgColor const QColor &    bg

Sets the background color to bg.

bg  the new background color

The documentation for this class was generated from the following files:
Generated on Mon Jan 20 00:24:55 2003 for Qwav by doxygen1.2.16