diff options
Diffstat (limited to 'SidebarManager.h')
-rw-r--r-- | SidebarManager.h | 9 |
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(); } |