2022-10-02 21:42:04 +05:30
|
|
|
#include<gtk/gtk.h>
|
|
|
|
#include<osm-gps-map.h>
|
2022-10-29 13:07:00 +05:30
|
|
|
#include "livechart.h"
|
|
|
|
|
2022-10-02 21:42:04 +05:30
|
|
|
typedef struct{
|
|
|
|
OsmGpsMap *util_map;
|
|
|
|
GdkPixbuf *g_red_image;
|
|
|
|
GdkPixbuf *g_green_image;
|
|
|
|
OsmGpsMapImage *g_last_image;
|
2022-10-19 16:30:42 +05:30
|
|
|
int current_selection;
|
2022-10-02 21:42:04 +05:30
|
|
|
} myParameters;
|
|
|
|
|
2022-10-28 18:18:01 +05:30
|
|
|
struct vis_data{
|
|
|
|
int id;
|
|
|
|
float lat;
|
|
|
|
float lon;
|
2022-10-29 13:07:00 +05:30
|
|
|
GdkColor color;
|
|
|
|
OsmGpsMapImage *last_image; // TODO:
|
2022-10-28 18:18:01 +05:30
|
|
|
GTimeVal last_update_time;
|
2022-10-29 19:35:38 +05:30
|
|
|
LiveChartSerie *serie_vol;
|
|
|
|
LiveChartSerie *serie_freq;
|
|
|
|
LiveChartSerie *serie_dfreq;
|
2022-10-28 18:18:01 +05:30
|
|
|
struct vis_data *next;
|
|
|
|
};
|
|
|
|
|
2022-10-29 13:07:00 +05:30
|
|
|
struct vis_data *vis_data_head;
|
2022-10-19 16:30:42 +05:30
|
|
|
|
2022-11-12 12:13:59 +05:30
|
|
|
gboolean update_vis(gpointer* pars);
|