diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-04-23 20:43:59 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-04-23 20:43:59 +0200 |
commit | eafdef4a5e7bb6cbed75b17a38a9b0e30c6e51a6 (patch) | |
tree | 61e74113c3b38df8aff60a764d36a884da1a597a /dgedit/canvastoollisten.h | |
parent | 75ca97372cdcf9b42ada94bfdd13589d677cba91 (diff) |
Add some sliders to control internal parameters of the editor.
Diffstat (limited to 'dgedit/canvastoollisten.h')
-rw-r--r-- | dgedit/canvastoollisten.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dgedit/canvastoollisten.h b/dgedit/canvastoollisten.h index 74a7831..090d83b 100644 --- a/dgedit/canvastoollisten.h +++ b/dgedit/canvastoollisten.h @@ -46,9 +46,12 @@ public: volatile bool playing; volatile size_t pos; + void setVolume(double v); + private: ao_device *dev; Canvas *canvas; + double volume; }; class CanvasToolListen : public CanvasTool { @@ -63,6 +66,7 @@ public: public slots: void update(); + void setVolume(int v); private: Canvas *canvas; |