summaryrefslogtreecommitdiffstats
path: root/SidebarManager.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-12-25 04:27:03 +0100
committerneoraider <devnull@localhost>2007-12-25 04:27:03 +0100
commit052641637bd20ffde6ddb8919888e2af987bafff (patch)
treea3ad75e2271fd95337a9768df5fe452e2a63b0ce /SidebarManager.h
parent953a6ff48ac6c46a0d81bedb0fbdafe5d637666e (diff)
downloadzoomedit-052641637bd20ffde6ddb8919888e2af987bafff.tar
zoomedit-052641637bd20ffde6ddb8919888e2af987bafff.zip
zoomedit: Added rectangular room tool.
Diffstat (limited to 'SidebarManager.h')
-rw-r--r--SidebarManager.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/SidebarManager.h b/SidebarManager.h
index 4401c9b..75fc06b 100644
--- a/SidebarManager.h
+++ b/SidebarManager.h
@@ -4,10 +4,8 @@
#include <gtk/gtk.h>
#include "Sidebar.h"
#include "SidebarToolbox.h"
-#include "SidebarView.h"
-#include "SidebarAdd.h"
#include "EditManager.h"
-#include "ToolSelector.h"
+#include "ToolAddRect.h"
#include "ToolAddPolygon.h"
@@ -24,6 +22,7 @@ class SidebarManager {
Window *window;
+ ToolAddRect toolAddRect;
ToolAddPolygon toolAddPolygon;
// prevent shallow copy
@@ -38,6 +37,10 @@ class SidebarManager {
return sidebar;
}
+ void resetTool() {
+ sidebarToolbox.resetTool();
+ }
+
Tool* getActiveTool() {
return &sidebarToolbox.getActiveTool();
}