Contents of /trunk/src/config.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 74 - (hide annotations)
Mon Aug 24 09:23:36 2009 UTC (14 years, 8 months ago) by harbaum
File MIME type: text/plain
File size: 1557 byte(s)
OSD color matching
1 harbaum 1 #ifndef CONFIG_H
2     #define CONFIG_H
3    
4     #define TAG_STATE GTK_STATE_PRELIGHT
5    
6     #ifndef USE_MAEMO
7     #define DEFAULT_IMAGE_PATH "/tmp/gpxview/"
8     #define DEFAULT_MMPOI_PATH "gpxview_poi.db"
9     #define DEFAULT_GARMIN_PATH "garmin_overridden.gpx"
10     #define DEFAULT_FIELDNOTES_PATH "geocache_visits_%s.txt"
11     #else
12     #if MAEMO_VERSION_MAJOR < 5
13     /* internal memory card */
14     #define DEFAULT_IMAGE_PATH "/media/mmc2/gpxview/"
15     #else
16 harbaum 62 #define DEFAULT_IMAGE_PATH "/home/user/.gpxview/"
17 harbaum 1 #endif
18     #define DEFAULT_MMPOI_PATH "MyDocs/.documents/Maps/gpxview_poi.db"
19     #define DEFAULT_GARMIN_PATH "MyDocs/.documents/garmin_overridden.gpx"
20     #define DEFAULT_FIELDNOTES_PATH "MyDocs/.documents/geocache_visits_%s.txt"
21     #endif
22    
23 harbaum 62 #define DEFAULT_IMAGE_PATH_HOME ".gpxview/"
24    
25 harbaum 1 #define LOCALEDIR "/usr/share/locale"
26     #define PACKAGE "gpxview"
27    
28 harbaum 32 // for osm-gps-map:
29     #define USE_CAIRO
30 harbaum 61 #define ENABLE_OSD
31 harbaum 65 #define ENABLE_BALLOON
32 harbaum 32
33 harbaum 65 #ifdef USE_MAEMO
34     #define BIG_BALLOONS
35     #endif
36    
37     #ifdef BIG_BALLOONS
38 harbaum 66 #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 harbaum 65 #endif
43    
44 harbaum 74 /* specify OSD colors explicitely. Otherwise gtk default */
45     /* colors are used */
46     #define OSD_COLOR_BG 1, 1, 1 // white background
47     #define OSD_COLOR 0.5, 0.5, 1 // light blue border and controls
48     #define OSD_COLOR_DISABLED 0.8, 0.8, 0.8 // light grey disabled controls
49     #define OSD_SHADOW_ENABLE
50     #define OSD_NODIR // no direction arrows
51    
52 harbaum 1 #endif // CONFIG_H