From 11ae33c3b0a0cbad772b23eb7d0714eef8ab9b03 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 28 Jul 2011 20:32:00 +0200 Subject: New tool skeleton structure. --- dgedit/canvas.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dgedit/canvas.h') 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 tools; }; #endif/*__DRUMGIZMO_CANVAS_H__*/ -- cgit v1.2.3