/* control frame */
GtkWidget *gps_follow_checkbox;
GtkWidget *gps_track_checkbox;
+ GtkWidget *gps_clear_button;
/* log frame */
GtkWidget *gps_log_checkbox;
GtkWidget *gps_rangering_checkbox;
};
+struct gps_track_t {
+ /* track storage */
+ gboolean active; /* Display track history */
+ gdouble (**points)[3];
+ GritsLine *line;
+ guint cur_point;
+ guint num_points;
+ guint cur_group;
+};
+
/* GPS private data */
struct _GritsPluginGPS {
GObject parent_instance;
gboolean gps_rangering_active; /* range rings are visible or not */
guint gps_update_timeout_id; /* id of timeout so we can delete it */
+ struct gps_track_t track;
struct gps_ui_t ui;
};