From 7aa6eda371eea746792dce412b97ed9799e3467e Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Thu, 6 Dec 2012 18:03:26 +0000 Subject: Add a toolbox Just allows selecting tools, so far - no tool configuration. --- tikzit/src/gtk/Application.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tikzit/src/gtk/Application.h') diff --git a/tikzit/src/gtk/Application.h b/tikzit/src/gtk/Application.h index b05a9cd..260f7ef 100644 --- a/tikzit/src/gtk/Application.h +++ b/tikzit/src/gtk/Application.h @@ -25,6 +25,7 @@ @class SettingsDialog; @class StyleManager; @class TikzDocument; +@class ToolBox; @class Window; @protocol Tool; @@ -44,6 +45,7 @@ extern Application* app; NSString *lastOpenFolder; NSString *lastSaveAsFolder; + ToolBox *toolBox; PreambleEditor *preambleWindow; PreviewWindow *previewWindow; SettingsDialog *settingsDialog; @@ -79,7 +81,7 @@ extern Application* app; /** * The currently-selected tool */ -@property (retain) id activeTool; +@property (assign) id activeTool; /** * The folder last actively chosen by a user for opening a file -- cgit v1.2.3