summaryrefslogtreecommitdiffstats
path: root/UIManager.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-10-30 22:54:00 +0100
committerneoraider <devnull@localhost>2007-10-30 22:54:00 +0100
commitbc2b34ead69f7fa1ef997308e0cff6123179f40e (patch)
treed8b56573c7ca7fa8526ed90afbd7c603daa05967 /UIManager.h
parent29ecb9c039d28768a8e5136c18ce76030e451654 (diff)
downloadzoomedit-bc2b34ead69f7fa1ef997308e0cff6123179f40e.tar
zoomedit-bc2b34ead69f7fa1ef997308e0cff6123179f40e.zip
zoomedit: Toolbar-Zoom-Buttons funktionieren wieder.
Diffstat (limited to 'UIManager.h')
-rw-r--r--UIManager.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/UIManager.h b/UIManager.h
index 09000ac..4d833e0 100644
--- a/UIManager.h
+++ b/UIManager.h
@@ -4,18 +4,27 @@
#include <gtk/gtk.h>
+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() {