Add:gui_internal:Added key support
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 16 Jun 2008 20:45:39 +0000 (20:45 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Mon, 16 Jun 2008 20:45:39 +0000 (20:45 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@1132 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/Makefile.am
navit/keys.h [new file with mode: 0644]

index 5072215..5f4ecd0 100644 (file)
@@ -19,7 +19,7 @@ navit_SOURCES = attr.c callback.c compass.c coord.c country.c cursor.c data_wind
        profile.c projection.c route.c search.c speech.c transform.c track.c \
        util.c vehicle.c xmlconfig.c attr.h attr_def.h callback.h color.h compass.h coord.h country.h \
        cursor.h data.h data_window.h data_window_int.h debug.h destination.h draw_info.h endianess.h event.h \
-       file.h graphics.h gtkext.h gui.h item.h item_def.h log.h layer.h layout.h main.h map-share.h map.h\
+       file.h graphics.h gtkext.h gui.h item.h item_def.h keys.h log.h layer.h layout.h main.h map-share.h map.h\
        map_data.h mapset.h maptype.h menu.h navigation.h navit.h osd.h \
        param.h phrase.h plugin.h point.h plugin_def.h projection.h popup.h route.h profile.h search.h speech.h \
        transform.h track.h util.h vehicle.h window.h xmlconfig.h
diff --git a/navit/keys.h b/navit/keys.h
new file mode 100644 (file)
index 0000000..d06d01e
--- /dev/null
@@ -0,0 +1,6 @@
+#define NAVIT_KEY_LEFT 2
+#define NAVIT_KEY_RIGHT 6
+#define NAVIT_KEY_DOWN 14      
+#define NAVIT_KEY_ZOOM_OUT 15
+#define NAVIT_KEY_UP 16
+#define NAVIT_KEY_ZOOM_IN 17