26 |
#define _OSM_GPS_MAP_TYPES_H_ |
#define _OSM_GPS_MAP_TYPES_H_ |
27 |
|
|
28 |
#include <gdk/gdk.h> |
#include <gdk/gdk.h> |
29 |
#ifdef LIBSOUP22 |
#if USE_LIBSOUP22 |
30 |
#include <libsoup/soup.h> |
#include <libsoup/soup.h> |
31 |
#endif |
#endif |
32 |
#include "osm-gps-map.h" |
#include "osm-gps-map.h" |
78 |
OsmGpsMap *map; |
OsmGpsMap *map; |
79 |
/* whether to redraw the map when the tile arrives */ |
/* whether to redraw the map when the tile arrives */ |
80 |
gboolean redraw; |
gboolean redraw; |
81 |
#ifdef LIBSOUP22 |
#if USE_LIBSOUP22 |
82 |
SoupSession *session; |
SoupSession *session; |
83 |
#endif |
#endif |
84 |
} tile_download_t; |
} tile_download_t; |
94 |
GdkPixbuf *image; |
GdkPixbuf *image; |
95 |
int w; |
int w; |
96 |
int h; |
int h; |
97 |
|
int xoffset; |
98 |
|
int yoffset; |
99 |
} image_t; |
} image_t; |
100 |
|
|
101 |
#endif /* _OSM_GPS_MAP_TYPES_H_ */ |
#endif /* _OSM_GPS_MAP_TYPES_H_ */ |