78 |
OSM_GPS_MAP_SOURCE_YAHOO_HYBRID |
OSM_GPS_MAP_SOURCE_YAHOO_HYBRID |
79 |
} OsmGpsMapSource_t; |
} OsmGpsMapSource_t; |
80 |
|
|
81 |
|
#define OSM_GPS_MAP_SOURCE_LAST (OSM_GPS_MAP_SOURCE_YAHOO_HYBRID) |
82 |
|
|
83 |
typedef struct { |
typedef struct { |
84 |
gint x, y, w, h; |
gint x, y, w, h; |
85 |
} OsmGpsMapRect_t; |
} OsmGpsMapRect_t; |
107 |
void(*render)(struct osm_gps_map_osd_s *); |
void(*render)(struct osm_gps_map_osd_s *); |
108 |
void(*draw)(struct osm_gps_map_osd_s *, GdkDrawable *); |
void(*draw)(struct osm_gps_map_osd_s *, GdkDrawable *); |
109 |
osd_button_t(*check)(struct osm_gps_map_osd_s *,gint, gint); /* check if x/y lies within OSD */ |
osd_button_t(*check)(struct osm_gps_map_osd_s *,gint, gint); /* check if x/y lies within OSD */ |
110 |
|
gboolean(*busy)(struct osm_gps_map_osd_s *); |
111 |
void(*free)(struct osm_gps_map_osd_s *); |
void(*free)(struct osm_gps_map_osd_s *); |
112 |
|
|
113 |
OsmGpsMapOsdCallback cb; |
OsmGpsMapOsdCallback cb; |