From 052641637bd20ffde6ddb8919888e2af987bafff Mon Sep 17 00:00:00 2001 From: neoraider Date: Tue, 25 Dec 2007 03:27:03 +0000 Subject: zoomedit: Added rectangular room tool. --- SidebarManager.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'SidebarManager.h') diff --git a/SidebarManager.h b/SidebarManager.h index 4401c9b..75fc06b 100644 --- a/SidebarManager.h +++ b/SidebarManager.h @@ -4,10 +4,8 @@ #include #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(); } -- cgit v1.2.3