Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/waveform/renderobject.h

Go to the documentation of this file.
00001 #ifndef RENDEROBJECT_H
00002 #define RENDEROBJECT_H
00003 
00004 #include <QObject>
00005 #include <QDomNode>
00006 #include <QVector>
00007 
00008 #include "trackinfoobject.h"
00009 
00010 class QDomNode;
00011 class QPainter;
00012 class QPaintEvent;
00013 
00014 class RenderObject : public QObject {
00015     Q_OBJECT
00016     public:
00017     explicit RenderObject();
00018     virtual ~RenderObject();
00019     virtual void resize(int w, int h) = 0;
00020     virtual void setup(QDomNode node) = 0;
00021     virtual void draw(QPainter *pPainter, QPaintEvent *pEvent,
00022                       QVector<float> *buffer, double playpos,
00023                       double rateAdjust) = 0;
00024     virtual void newTrack(TrackPointer pTrack) = 0;
00025 };
00026 
00027 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines