33 |
} notes_context_t; |
} notes_context_t; |
34 |
|
|
35 |
typedef struct { |
typedef struct { |
36 |
GtkWidget *distance_label, *bearing_label, *eph_label, *cbox; |
GtkWidget *distance_label, *bearing_label, *eph_label; |
37 |
GtkWidget *lat_lbl, *lon_lbl, *edit_but; |
GtkWidget *lat_entry, *lon_entry; |
38 |
|
|
39 |
/* Backing pixmap for drawing area */ |
/* Backing pixmap for drawing area */ |
40 |
GtkWidget *compass_area; |
GtkWidget *compass_area; |
48 |
GtkWidget *sat_area; |
GtkWidget *sat_area; |
49 |
GdkPixmap *sat_pixmap; |
GdkPixmap *sat_pixmap; |
50 |
|
|
51 |
|
#ifdef ESPEAK |
52 |
|
guint espeak_handler; |
53 |
|
#endif |
54 |
|
|
55 |
} goto_context_t; |
} goto_context_t; |
56 |
|
|
57 |
typedef struct { |
typedef struct cache_context_s { |
58 |
appdata_t *appdata; |
appdata_t *appdata; |
59 |
cache_t *cache; |
cache_t *cache; |
60 |
notes_context_t notes; |
notes_context_t notes; |
61 |
goto_context_t gotoc; |
goto_context_t gotoc; |
62 |
|
|
63 |
|
#ifdef USE_STACKABLE_WINDOW |
64 |
|
/* save if the notes are being changed so the cachelist can be redrawn */ |
65 |
|
/* if we return to it */ |
66 |
|
gboolean notes_have_been_changed; |
67 |
|
#endif |
68 |
|
|
69 |
/* widgets in the overview that change when the pos is overwritten */ |
/* widgets in the overview that change when the pos is overwritten */ |
70 |
GtkWidget *pos_lat_label, *pos_lon_label; |
GtkWidget *pos_lat_label, *pos_lon_label; |
71 |
GtkWidget *bearing_hbox; |
GtkWidget *bearing_hbox; |
72 |
|
|
73 |
GtkWidget *votes, *quality, *ratebox; |
GtkWidget *votes, *quality, *votebox; |
74 |
gcvote_request_t *gcvote_request; |
gcvote_request_t *gcvote_request; |
75 |
|
|
76 |
#ifdef USE_MAEMO |
#ifdef USE_MAEMO |