From b3ee9ef97ec883f7c3054d4bb918764a1eead2b4 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Tue, 16 Oct 2007 14:00:05 +0300 Subject: [PATCH] Add: void map_center_latlon(gdouble lat, gdouble lon); gboolean map_goto_position(Position *pos); --- src/map.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/map.h b/src/map.h index 21274c5..0ed428d 100644 --- a/src/map.h +++ b/src/map.h @@ -73,11 +73,14 @@ gboolean map_key_zoom_timeout(); int map_zoom(gint zdir); void map_set_autozoom(gboolean az); void map_render_path(Path * path, GdkGC ** gc); -void map_center_unit(guint new_center_unitx, guint new_center_unity); void map_pan(gint delta_unitx, gint delta_unity); void map_move_mark(void); void map_set_mark(void); +void map_center_unit(guint new_center_unitx, guint new_center_unity); +void map_center_latlon(gdouble lat, gdouble lon); +gboolean map_goto_position(Position *pos); + gboolean map_cb_configure(GtkWidget * widget, GdkEventConfigure * event); gboolean map_cb_expose(GtkWidget * widget, GdkEventExpose * event); gboolean map_cb_button_press(GtkWidget * widget, GdkEventButton * event); -- 2.39.5