summaryrefslogtreecommitdiffstats
path: root/ui.cpp
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-10-05 01:38:05 +0200
committerneoraider <devnull@localhost>2007-10-05 01:38:05 +0200
commitb660b965bcb679e53cc89e7b8903190d2d162ff6 (patch)
tree31d2e3309e0906e03a8e415f430a99f8716b23b6 /ui.cpp
parentea3fc9f27f6feb14ea3b7cfc8b1e921195dd3c3f (diff)
downloadzoomedit-b660b965bcb679e53cc89e7b8903190d2d162ff6.tar
zoomedit-b660b965bcb679e53cc89e7b8903190d2d162ff6.zip
zoomedit: Gro?e Teile der GUI in Klassen gekapselt.
Diffstat (limited to 'ui.cpp')
-rw-r--r--ui.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui.cpp b/ui.cpp
index d3d0014..3ed249a 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -1,6 +1,5 @@
#include "ui.h"
#include "draw.h"
-#include "window.h"
#include <gtk/gtk.h>
#include <string.h>
@@ -27,12 +26,12 @@ static const gchar *uiData =
static void handleAction(GtkAction *action, gpointer user_data) {
- const gchar* name = gtk_action_get_name(action);
+ //const gchar* name = gtk_action_get_name(action);
- if(!strcmp(name, "zoomIn"))
+ /*if(!strcmp(name, "zoomIn"))
zoomInCentered(1.2f);
else if(!strcmp(name, "zoomOut"))
- zoomOutCentered(1.2f);
+ zoomOutCentered(1.2f);*/
}
static GtkActionGroup *createActions() {