~foxtrotgps-team/foxtrotgps/trunk

« back to all changes in this revision

Viewing changes to src/globals.c

  • Committer: Joshua Judson Rosen
  • Date: 2009-09-26 02:35:15 UTC
  • Revision ID: rozzin@geekspace.com-20090926023515-yxl5sg1a45gupuc8
Imported from tangogps-0.9.7 tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
#include "globals.h"
 
4
#include <gtk/gtk.h>
 
5
 
 
6
 
 
7
GdkPixmap *pixmap = NULL;
 
8
GtkWidget *window1 = NULL;
 
9
GtkWidget *window2 = NULL;
 
10
GtkWidget *map_drawable = NULL;
 
11
 
 
12
GtkWidget *dialog1 = NULL;
 
13
GtkWidget *dialog8 = NULL;
 
14
 
 
15
GtkWidget *window3 = NULL;
 
16
GtkWidget *menu1 = NULL;
 
17
 
 
18
 
 
19
char *global_track_dir = NULL;
 
20
 
 
21
int global_x = 890;
 
22
int global_y = 515;
 
23
int global_zoom = 3;
 
24
int global_zoom_max = 20;
 
25
                
 
26
int mouse_dx = 0; 
 
27
int mouse_dy = 0;
 
28
                
 
29
int global_drawingarea_width  = 0;
 
30
int global_drawingarea_height = 0;
 
31
 
 
32
int global_speed_unit   = 0;    
 
33
int global_alt_unit     = 0;    
 
34
int global_latlon_unit  = 0;    
 
35
 
 
36
 
 
37
gps_data_t *gpsdata = NULL;
 
38
 
 
39
GSList          *trackpoint_list = NULL;
 
40
GSList          *friends_list = NULL;
 
41
GSList          *photo_list = NULL;
 
42
GSList          *poi_list = NULL;
 
43
float           trip_distance = 0;
 
44
double          trip_maxspeed = 0;
 
45
double          trip_time = 0;
 
46
double          trip_starttime = 0;
 
47
gboolean        trip_counter_on = TRUE;
 
48
gboolean        trip_logger_on = FALSE;
 
49
 
 
50
trackpoint_t    global_myposition;
 
51
 
 
52
 
 
53
 
 
54
 
 
55
gchar           *global_curr_reponame = NULL;
 
56
int             global_repo_cnt = 0;
 
57
GSList          *global_repo_list = NULL;
 
58
GSList          *global_curr_repo = NULL;
 
59
GConfClient     *global_gconfclient = NULL;
 
60
 
 
61
gboolean        global_auto_download = TRUE;
 
62
gboolean        global_mapmode = TRUE;
 
63
gboolean        global_autocenter = FALSE;
 
64
gboolean        global_reconnect_gpsd = TRUE;
 
65
int             global_tiles_in_dl_queue = 0;
 
66
 
 
67
gboolean        global_show_friends = FALSE;
 
68
gboolean        global_show_pois = FALSE;
 
69
gboolean        global_show_photos = FALSE;
 
70
int             global_poi_cat = 0;
 
71
 
 
72
gboolean        global_wp_on = FALSE;
 
73
waypoint_t      global_wp;
 
74
 
 
75
gboolean        global_ffupdate_auto = FALSE;
 
76
int             global_ffupdate_interval = 900000;
 
77
double          global_ffupdate_interval_minutes = 15;
 
78
gboolean        global_fftimer_running = FALSE;
 
79
gboolean        global_ffcm_public = TRUE;
 
80
gboolean        global_ffcm_registered = TRUE;
 
81
gboolean        global_ffcm_friends = TRUE;
 
82
gboolean        global_ffcu_public = TRUE;
 
83
gboolean        global_ffcu_registered = TRUE;
 
84
gboolean        global_ffcu_friends = TRUE;
 
85
int             global_ff_mode = 3;
 
86
 
 
87
gchar           *global_server  = NULL;
 
88
gchar           *global_port    = NULL;
 
89
 
 
90
gchar           *global_home_dir = NULL;
 
91
gchar           *tangogps_dir = NULL;
 
92
 
 
93
int             mouse_x = 0;
 
94
int             mouse_y = 0;