summaryrefslogtreecommitdiffstats
path: root/UIManager.h
diff options
context:
space:
mode:
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() {