summaryrefslogtreecommitdiff
path: root/statusbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'statusbar.h')
-rw-r--r--statusbar.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/statusbar.h b/statusbar.h
new file mode 100644
index 00000000..1b9092c9
--- /dev/null
+++ b/statusbar.h
@@ -0,0 +1,10 @@
+struct route;
+struct statusbar_gui;
+
+struct statusbar {
+ void (*statusbar_destroy)(struct statusbar *this);
+ void (*statusbar_mouse_update)(struct statusbar *this, struct transformation *tr, struct point *p);
+ void (*statusbar_route_update)(struct statusbar *this, struct route *route);
+ void (*statusbar_gps_update)(struct statusbar *this, int sats, int qual, double lng, double lat, double height, double direction, double speed);
+ struct statusbar_gui *gui;
+};