~foxtrotgps-team/foxtrotgps/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#include "globals.h"
#include <gtk/gtk.h>


GdkPixmap *pixmap = NULL;

const char *gladefile =
	PACKAGE_DATA_DIR "/" PACKAGE "/" PACKAGE ".glade";
GladeXML *gladexml = NULL;

GtkWidget *window1 = NULL;
GtkWidget *window2 = NULL;
GtkWidget *map_drawable = NULL;

GtkWidget *dialog1 = NULL;
GtkWidget *dialog8 = NULL;

GtkWidget *window3 = NULL;
GtkWidget *menu1 = NULL;
GtkWidget *route_menu = NULL;

GList	*global_infopane_widgets = NULL;
GList	*global_infopane_current = NULL;

char *global_track_dir = NULL;

int global_x = 890;
int global_y = 515;
int global_zoom = 3;
int global_zoom_max = 20;
int global_detail_zoom = 0;

int mouse_dx = 0;
int mouse_dy = 0;

int global_drawingarea_width  = 0;
int global_drawingarea_height = 0;

int global_speed_unit	= 0;
int global_alt_unit	= 0;
int global_latlon_unit	= 0;


tangogps_gps_data_t *gpsdata = NULL;
hrm_data_t *hrmdata = NULL;

GQueue		*trackpoint_list= NULL;
GSList		*friends_list	= NULL;
GSList		*photo_list	= NULL;
GSList		*poi_list	= NULL;
GSList		*msg_list	= NULL;

float		trip_distance	= 0;
double		trip_maxspeed	= 0;
double		trip_time	= 0;
double		trip_starttime	= 0;

gboolean	trip_counter_on	= TRUE;
gboolean	trip_logger_on	= FALSE;
gboolean	trip_livelog_on	= FALSE;
gboolean	hrm_on		= FALSE;

trackpoint_t	global_myposition;


gchar		*global_curr_reponame = NULL;
int		global_repo_cnt = 0;
int		global_repo_nr = 1;
GSList 		*global_repo_list = NULL;
GSList		*global_curr_repo = NULL;
GSettings	*global_settings = NULL;

gboolean	global_infopane_visible = FALSE;
gboolean	global_landscape;
gboolean	global_auto_download = TRUE;
gboolean	global_no_redownload = FALSE;
gboolean	global_mapmode = TRUE;
gboolean	global_autocenter = TRUE;
gboolean	global_reconnect_hrm = TRUE;
int		global_tiles_in_dl_queue = 0;

gboolean	global_show_friends = FALSE;
gboolean	global_show_pois = FALSE;
gboolean	global_show_photos = FALSE;
gboolean	global_new_msg = FALSE;
int		global_poi_cat = 0;

gboolean	global_wp_on = FALSE;
waypoint_t	global_wp;

char		*global_friend_nick = NULL;
char		*global_friend_pass = NULL;

int		global_ffupdate_interval = 900000;
double		global_ffupdate_interval_minutes = 15;
gboolean 	global_fftimer_running = FALSE;
int		global_ff_mode = 3;

gchar		*global_server	= NULL;
gchar		*global_port	= NULL;

gchar		*global_hrm_bt_addr = NULL;

gchar		*global_home_dir = NULL;
gchar		*foxtrotgps_dir = NULL;

int		mouse_x = 0;
int		mouse_y = 0;

int		drag_started = 0;