summaryrefslogtreecommitdiff
path: root/navit/navit.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-08-22 21:30:46 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-08-22 21:30:46 +0000
commitb528bc2fd554f10eb997009817c8abc586734be7 (patch)
treeaed437ecfc03afa7b0eadddcaa24fd2e059b306d /navit/navit.h
parentca6fd1cbe7674061ce8e8e9d6c311e0f1fbb1188 (diff)
downloadnavit-b528bc2fd554f10eb997009817c8abc586734be7.tar.gz
Fix:osd_core:Fixed buttons with negative coordinates
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1305 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.h')
-rw-r--r--navit/navit.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/navit/navit.h b/navit/navit.h
index 97842fa36..c13c87ba7 100644
--- a/navit/navit.h
+++ b/navit/navit.h
@@ -33,7 +33,6 @@ struct callback;
struct displaylist;
struct graphics;
struct gui;
-struct layout;
struct mapset;
struct navigation;
struct navit;
@@ -49,10 +48,12 @@ struct vehicle;
void navit_add_mapset(struct navit *this_, struct mapset *ms);
struct mapset *navit_get_mapset(struct navit *this_);
struct tracking *navit_get_tracking(struct navit *this_);
-void navit_add_layout(struct navit *this_, struct layout *lay);
void navit_draw(struct navit *this_);
void navit_draw_displaylist(struct navit *this_);
void navit_resize(void *data, int w, int h);
+int navit_get_width(struct navit *this_);
+int navit_get_height(struct navit *this_);
+int navit_ignore_button(struct navit *this_);
int navit_handle_button(struct navit *this_, int pressed, int button, struct point *p, struct callback *popup_callback);
void navit_handle_motion(struct navit *this_, struct point *p);
void navit_zoom_in(struct navit *this_, int factor, struct point *p);
@@ -81,8 +82,6 @@ void navit_set_position(struct navit *this_, struct pcoord *c);
struct navit_vehicle *navit_add_vehicle(struct navit *this_, struct vehicle *v, struct attr **attrs);
void navit_set_vehicle(struct navit *this_, struct navit_vehicle *nv);
void navit_tracking_add(struct navit *this_, struct tracking *tracking);
-void navit_route_add(struct navit *this_, struct route *route);
-void navit_navigation_add(struct navit *this_, struct navigation *navigation);
void navit_set_speech(struct navit *this_, struct speech *speech);
struct gui *navit_get_gui(struct navit *this_);
struct transformation *navit_get_trans(struct navit *this_);