From bc2b34ead69f7fa1ef997308e0cff6123179f40e Mon Sep 17 00:00:00 2001 From: neoraider Date: Tue, 30 Oct 2007 21:54:00 +0000 Subject: zoomedit: Toolbar-Zoom-Buttons funktionieren wieder. --- UIManager.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'UIManager.h') diff --git a/UIManager.h b/UIManager.h index 09000ac..4d833e0 100644 --- a/UIManager.h +++ b/UIManager.h @@ -4,18 +4,27 @@ #include +class Window; + + class UIManager { private: static const gchar* const uiData; GtkUIManager *uiManager; + Window *window; + + GtkActionGroup* createActions(); static void handleAction(GtkAction *action, UIManager *uiManager); - GtkActionGroup* createActions(); public: - UIManager(); + enum Action { + ZOOM_IN, ZOOM_OUT + }; + + UIManager(Window *window); virtual ~UIManager(); GtkWidget* getMenu() { -- cgit v1.2.3