Contents of /trunk/src/config.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65 - (show annotations)
Wed Aug 19 14:21:14 2009 UTC (14 years, 9 months ago) by harbaum
File MIME type: text/plain
File size: 1178 byte(s)
Everything's bigger on maemo
1 #ifndef CONFIG_H
2 #define CONFIG_H
3
4 #define TAG_STATE GTK_STATE_PRELIGHT
5
6 // #define DEFAULT_LAT 49.02833
7 // #define DEFAULT_LON 8.39042
8
9 #ifndef USE_MAEMO
10 #define DEFAULT_IMAGE_PATH "/tmp/gpxview/"
11 #define DEFAULT_MMPOI_PATH "gpxview_poi.db"
12 #define DEFAULT_GARMIN_PATH "garmin_overridden.gpx"
13 #define DEFAULT_FIELDNOTES_PATH "geocache_visits_%s.txt"
14 #else
15 #if MAEMO_VERSION_MAJOR < 5
16 /* internal memory card */
17 #define DEFAULT_IMAGE_PATH "/media/mmc2/gpxview/"
18 #else
19 #define DEFAULT_IMAGE_PATH "/home/user/.gpxview/"
20 #endif
21 #define DEFAULT_MMPOI_PATH "MyDocs/.documents/Maps/gpxview_poi.db"
22 #define DEFAULT_GARMIN_PATH "MyDocs/.documents/garmin_overridden.gpx"
23 #define DEFAULT_FIELDNOTES_PATH "MyDocs/.documents/geocache_visits_%s.txt"
24 #endif
25
26 #define DEFAULT_IMAGE_PATH_HOME ".gpxview/"
27
28 #define LOCALEDIR "/usr/share/locale"
29 #define PACKAGE "gpxview"
30
31 // for osm-gps-map:
32 #define USE_CAIRO
33 #define ENABLE_OSD
34 #define ENABLE_BALLOON
35
36 #ifdef USE_MAEMO
37 #define BIG_BALLOONS
38 #endif
39
40 #ifdef BIG_BALLOONS
41 #define BALLOON_AREA_WIDTH 300
42 #define BALLOON_AREA_HEIGHT 60
43 #define BALLOON_CORNER_RADIUS 40
44 #endif
45
46 #endif // CONFIG_H