--- trunk/src/config.h 2009/08/24 09:23:36 74 +++ trunk/src/config.h 2009/08/24 12:57:15 75 @@ -41,12 +41,25 @@ #define OSM_GPS_MAP_OSD_DIAMETER 60 #endif +#ifdef USE_MAEMO +/* limit screen refresh while dragging to avoid delays */ +#define OSM_GPS_MAP_REFRESH 25 +#endif + /* specify OSD colors explicitely. Otherwise gtk default */ -/* colors are used */ +/* colors are used. Only fremantle uses gtk defaults */ +#if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5) #define OSD_COLOR_BG 1, 1, 1 // white background #define OSD_COLOR 0.5, 0.5, 1 // light blue border and controls #define OSD_COLOR_DISABLED 0.8, 0.8, 0.8 // light grey disabled controls #define OSD_SHADOW_ENABLE -#define OSD_NODIR // no direction arrows +#else +#define OSD_COLOR_BG 0, 0, 0 // black background +#define OSD_COLOR 1, 1, 1 // white border and controls +#define OSD_COLOR_DISABLED 0.2, 0.2, 0.2 // dark grey disabled controls +#endif + +#define OSD_DOUBLE_BUFFER // render osd/map together offscreen +#define OSD_NODIR // no direction arrows (map is panned) #endif // CONFIG_H