3 |
|
|
4 |
#define TAG_STATE GTK_STATE_PRELIGHT |
#define TAG_STATE GTK_STATE_PRELIGHT |
5 |
|
|
|
// #define DEFAULT_LAT 49.02833 |
|
|
// #define DEFAULT_LON 8.39042 |
|
|
|
|
6 |
#ifndef USE_MAEMO |
#ifndef USE_MAEMO |
7 |
#define DEFAULT_IMAGE_PATH "/tmp/gpxview/" |
#define DEFAULT_IMAGE_PATH "/tmp/gpxview/" |
|
#define DEFAULT_IMAGE_PATH_HOME ".gpxview/" |
|
8 |
#define DEFAULT_MMPOI_PATH "gpxview_poi.db" |
#define DEFAULT_MMPOI_PATH "gpxview_poi.db" |
9 |
#define DEFAULT_GARMIN_PATH "garmin_overridden.gpx" |
#define DEFAULT_GARMIN_PATH "garmin_overridden.gpx" |
10 |
#define DEFAULT_FIELDNOTES_PATH "geocache_visits_%s.txt" |
#define DEFAULT_FIELDNOTES_PATH "geocache_visits_%s.txt" |
13 |
/* internal memory card */ |
/* internal memory card */ |
14 |
#define DEFAULT_IMAGE_PATH "/media/mmc2/gpxview/" |
#define DEFAULT_IMAGE_PATH "/media/mmc2/gpxview/" |
15 |
#else |
#else |
16 |
#define DEFAULT_IMAGE_PATH "/home/user/MyDocs/.gpxview/" |
#define DEFAULT_IMAGE_PATH "/home/user/.gpxview/" |
17 |
#endif |
#endif |
18 |
#define DEFAULT_MMPOI_PATH "MyDocs/.documents/Maps/gpxview_poi.db" |
#define DEFAULT_MMPOI_PATH "MyDocs/.documents/Maps/gpxview_poi.db" |
19 |
#define DEFAULT_GARMIN_PATH "MyDocs/.documents/garmin_overridden.gpx" |
#define DEFAULT_GARMIN_PATH "MyDocs/.documents/garmin_overridden.gpx" |
20 |
#define DEFAULT_FIELDNOTES_PATH "MyDocs/.documents/geocache_visits_%s.txt" |
#define DEFAULT_FIELDNOTES_PATH "MyDocs/.documents/geocache_visits_%s.txt" |
21 |
#endif |
#endif |
22 |
|
|
23 |
|
#define DEFAULT_IMAGE_PATH_HOME ".gpxview/" |
24 |
|
|
25 |
#define LOCALEDIR "/usr/share/locale" |
#define LOCALEDIR "/usr/share/locale" |
26 |
#define PACKAGE "gpxview" |
#define PACKAGE "gpxview" |
27 |
|
|
28 |
// for osm-gps-map: |
// for osm-gps-map: |
29 |
#define USE_CAIRO |
#define USE_CAIRO |
30 |
|
#define ENABLE_OSD |
31 |
|
#define ENABLE_BALLOON |
32 |
|
|
33 |
|
#ifdef USE_MAEMO |
34 |
|
#define BIG_BALLOONS |
35 |
|
#endif |
36 |
|
|
37 |
|
#ifdef BIG_BALLOONS |
38 |
|
#define BALLOON_AREA_WIDTH 380 |
39 |
|
#define BALLOON_AREA_HEIGHT 100 |
40 |
|
#define BALLOON_CORNER_RADIUS 20 |
41 |
|
#define OSM_GPS_MAP_OSD_DIAMETER 60 |
42 |
|
#endif |
43 |
|
|
44 |
|
#ifdef USE_MAEMO |
45 |
|
/* limit screen refresh while dragging to avoid delays */ |
46 |
|
#define OSM_GPS_MAP_REFRESH 25 |
47 |
|
#endif |
48 |
|
|
49 |
|
/* specify OSD colors explicitely. Otherwise gtk default */ |
50 |
|
/* colors are used. Only fremantle uses gtk defaults */ |
51 |
|
#if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5) |
52 |
|
#define OSD_COLOR_BG 1, 1, 1 // white background |
53 |
|
#define OSD_COLOR 0.5, 0.5, 1 // light blue border and controls |
54 |
|
#define OSD_COLOR_DISABLED 0.8, 0.8, 0.8 // light grey disabled controls |
55 |
|
#define OSD_SHADOW_ENABLE |
56 |
|
#else |
57 |
|
#define OSD_COLOR_BG 0, 0, 0 // black background |
58 |
|
#define OSD_COLOR 1, 1, 1 // white border and controls |
59 |
|
#define OSD_COLOR_DISABLED 0.2, 0.2, 0.2 // dark grey disabled controls |
60 |
|
#endif |
61 |
|
|
62 |
|
#define OSD_DOUBLE_BUFFER // render osd/map together offscreen |
63 |
|
#define OSD_NODIR // no direction arrows (map is panned) |
64 |
|
|
65 |
#endif // CONFIG_H |
#endif // CONFIG_H |