]> err.no Git - mapper/blob - src/settings.h
Use a plain gtk_range for filter settings.
[mapper] / src / settings.h
1 #include "config.h"
2
3 #define _GNU_SOURCE
4
5 #include <glib.h>
6
7 #ifndef _MAPPER_SETTINGS_H
8 #define _MAPPER_SETTINGS_H
9
10 #include "settings-gconf.h"
11
12 /** CONFIGURATION INFORMATION. */
13 gchar *_rcvr_mac;
14 gchar *_route_dir_uri;
15 gchar *_track_file_uri;
16 gchar *_route_dl_url;
17 guint _route_dl_radius;
18
19 gboolean _track_store;
20
21 gboolean _always_keep_on;
22 gboolean _fullscreen;
23 gboolean _enable_gps;
24 gboolean _gps_info;
25
26 gboolean _gps_filter;
27 gdouble _filter_hdop;
28 gdouble _filter_vdop;
29 gdouble _filter_angle;
30 gdouble _filter_osm;
31
32 gint _show_tracks;
33 gboolean _show_scale;
34 gboolean _show_velvec;
35 gboolean _show_poi;
36 gboolean _auto_download;
37
38 guint _lead_ratio;
39 guint _center_ratio;
40 guint _draw_width;
41
42 gboolean _enable_voice;
43 guint _announce_notice_ratio;
44 gdouble _voice_speed;
45 gint _voice_pitch;
46
47 gboolean _speed_limit_on;
48 gboolean _speed_excess;
49 guint _speed_limit;
50
51 gboolean _satdetails_on;
52
53 gchar *_http_proxy_host;
54 gint _http_proxy_port;
55
56 GSList *_loc_list;
57 GtkListStore *_loc_model;
58
59 CustomAction _action[CUSTOM_KEY_ENUM_COUNT];
60 CenterMode _center_mode;
61 UnitType _units;
62 guint _degformat;
63 SpeedLocation _speed_location;
64 InfoFontSize _info_font_size;
65
66 GList *_repo_list;
67 RepoData *_curr_repo;
68
69 #endif