From: martin-s Date: Mon, 16 Jun 2008 20:45:39 +0000 (+0000) Subject: Add:gui_internal:Added key support X-Git-Tag: navit-0.5.0.5194svn~4024 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=221f70fcf0c0f906d1f39fcbaae50ede9fc15870;p=profile%2Fivi%2Fnavit.git Add:gui_internal:Added key support git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1132 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/Makefile.am b/navit/navit/Makefile.am index 5072215..5f4ecd0 100644 --- a/navit/navit/Makefile.am +++ b/navit/navit/Makefile.am @@ -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/navit/keys.h b/navit/navit/keys.h new file mode 100644 index 0000000..d06d01e --- /dev/null +++ b/navit/navit/keys.h @@ -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