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

qwavaveragelayer.h

00001 /***************************************************************************
00002                           averageviewlayer.h  -  description
00003                              -------------------
00004     begin                : Sun Nov 17 2002
00005     copyright            : (C) 2002 by Peter Eschler
00006     email                : eschler@users.sourceforge.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU Library General Public License as       *
00013  *   published by  the Free Software Foundation; either version 2 of the   *
00014  *   License, or (at your option) any later version.                       *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef QwavAVERAGELAYER_H
00019 #define QwavAVERAGELAYER_H
00020 
00021 #include "qwavviewlayer.h"
00022 #include <qcolor.h>
00023 
00024 #include <string>
00025 
00026 Qwav_BEGIN_NAMESPACE
00027 
00033 class QWAV_EXPORTIMPORT QwavAverageLayer : public QwavViewLayer
00034 {
00035 public: 
00036     QwavAverageLayer();
00037     ~QwavAverageLayer();
00038 
00039     virtual void paintLayer(QwavWaveView* v, const QRect& rect );
00040     virtual const string getName() const { return "QwavAverageLayer"; }
00041 
00042     void setAverageColor(const QColor& c);
00043     const QColor& getAverageColor() const;
00044 
00045 private:
00046     QColor  _averageColor;
00047     
00048 };
00049 
00050 Qwav_END_NAMESPACE
00051 
00052 #endif // QwavAVERAGELAYER_H

Generated on Mon Jan 20 00:24:54 2003 for Qwav by doxygen1.2.16