]> err.no Git - mapper/blob - src/speed-display.c
More map widget integration changes
[mapper] / src / speed-display.c
1 #include "config.h"
2
3 #include <unistd.h>
4 #include <stdlib.h>
5 #include <string.h>
6 #include <strings.h>
7 #include <glib/gstdio.h>
8 #include <gtk/gtk.h>
9
10 #include "utils.h"
11 #include "mapper-types.h"
12 #include "map.h"
13 #include "gps.h"
14 #include "settings.h"
15 #include "ui-common.h"
16 #include "speak.h"
17
18 static gboolean 
19 speed_excess(void)
20 {
21 if (!_speed_excess)
22         return FALSE;
23
24 speak_text("Warning, you are over speed limit!");
25
26 return TRUE;
27 }
28
29