diff options
author | neoraider <devnull@localhost> | 2007-10-05 01:38:05 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-10-05 01:38:05 +0200 |
commit | b660b965bcb679e53cc89e7b8903190d2d162ff6 (patch) | |
tree | 31d2e3309e0906e03a8e415f430a99f8716b23b6 /ui.cpp | |
parent | ea3fc9f27f6feb14ea3b7cfc8b1e921195dd3c3f (diff) | |
download | zoomedit-b660b965bcb679e53cc89e7b8903190d2d162ff6.tar zoomedit-b660b965bcb679e53cc89e7b8903190d2d162ff6.zip |
zoomedit: Gro?e Teile der GUI in Klassen gekapselt.
Diffstat (limited to 'ui.cpp')
-rw-r--r-- | ui.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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() { |