diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-07-30 15:18:29 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-07-30 15:18:29 +0200 |
commit | 08a41cf525193e90ce8f397476ac3825e5e9fdb8 (patch) | |
tree | e63ba1a732979bbfb499fbd00923d58e3d9c0028 /dgedit/canvastoollisten.h | |
parent | a7476886b60cdf7d6a6d5a4f8d6bae270bf52434 (diff) |
Redraw listening position line in timer.
Diffstat (limited to 'dgedit/canvastoollisten.h')
-rw-r--r-- | dgedit/canvastoollisten.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dgedit/canvastoollisten.h b/dgedit/canvastoollisten.h index dfbea97..22daafd 100644 --- a/dgedit/canvastoollisten.h +++ b/dgedit/canvastoollisten.h @@ -30,6 +30,7 @@ #include "canvastool.h" #include <QThread> +#include <QTimer> #include <ao/ao.h> @@ -59,10 +60,15 @@ public: bool mouseReleaseEvent(QMouseEvent *event); void paintEvent(QPaintEvent *event, QPainter &painter); +public slots: + void update(); + private: Canvas *canvas; Player player; + QTimer timer; + size_t lastpos; }; #endif/*__DRUMGIZMO_CANVASTOOLLISTEN_H__*/ |