diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-07-28 20:32:00 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-07-28 20:32:00 +0200 |
commit | 11ae33c3b0a0cbad772b23eb7d0714eef8ab9b03 (patch) | |
tree | e47437aca5507bb61c8b3f3c674f0903ce02a683 /dgedit/canvas.h | |
parent | 90494e2f9b8ac40a8ce1bb75828ceff0893bbd63 (diff) |
New tool skeleton structure.
Diffstat (limited to 'dgedit/canvas.h')
-rw-r--r-- | dgedit/canvas.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dgedit/canvas.h b/dgedit/canvas.h index b881d01..0fb7f4c 100644 --- a/dgedit/canvas.h +++ b/dgedit/canvas.h @@ -33,6 +33,7 @@ #include "selection.h" #include "mipmap.h" +#include "canvastool.h" class Canvas : public QWidget { Q_OBJECT @@ -43,6 +44,8 @@ public: void load(QString file); Selections selections(); + + void addTool(CanvasTool *tool); signals: void selectionsChanged(Selections selections); @@ -106,6 +109,9 @@ private: QColor colActiveSel; Selections _selections; + + + QVector<CanvasTool*> tools; }; #endif/*__DRUMGIZMO_CANVAS_H__*/ |