Diff of /trunk/src/config.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 89 by harbaum, Tue Sep 1 11:16:30 2009 UTC revision 111 by harbaum, Mon Sep 14 12:16:08 2009 UTC
# Line 48  Line 48 
48  #define USE_CAIRO  #define USE_CAIRO
49  #define ENABLE_OSD  #define ENABLE_OSD
50  #define ENABLE_BALLOON  #define ENABLE_BALLOON
51    #define OSD_SCALE
52    #define OSD_CROSSHAIR
53    
54  #ifdef USE_MAEMO  #ifdef USE_MAEMO
55  #define BIG_BALLOONS  #define BIG_BALLOONS
56  #define BALLOON_AREA_WIDTH       380  #define BALLOON_AREA_WIDTH       380
57  #define BALLOON_AREA_HEIGHT      100  #define BALLOON_AREA_HEIGHT      100
58  #define BALLOON_CORNER_RADIUS     20  #define BALLOON_CORNER_RADIUS     20
59    #define OSD_FONT_SIZE             28
60    #define OSD_DIAMETER              60
61    #define OSD_SCALE_FONT_SIZE       20
62    #define OSD_CROSSHAIR_RADIUS      20
63    #define OSD_COORDINATES_FONT_SIZE 20
64    
65    /* limit screen refresh while dragging to avoid delays */
66    #define OSM_GPS_MAP_REFRESH  25
67  #endif  #endif
68    
69    #define OSD_COORDINATES
70    #include <libintl.h>
71    #define OSD_COORDINATES_CHR_N  gettext("N")
72    #define OSD_COORDINATES_CHR_S  gettext("S")
73    #define OSD_COORDINATES_CHR_E  gettext("E")
74    #define OSD_COORDINATES_CHR_W  gettext("W")
75    
76  /* only maemo devices up to version 4 have a fullscreen button */  /* only maemo devices up to version 4 have a fullscreen button */
77  #ifdef USE_MAEMO  #ifdef USE_MAEMO
78  #include <hildon/hildon-defines.h>  #include <hildon/hildon-defines.h>
79  #if (MAEMO_VERSION_MAJOR < 5)  #if (MAEMO_VERSION_MAJOR < 5)
80  #define OSM_GPS_MAP_KEY_FULLSCREEN  HILDON_HARDKEY_FULLSCREEN  #define OSM_GPS_MAP_KEY_FULLSCREEN  HILDON_HARDKEY_FULLSCREEN
81  #else  #else
 #define OSD_FONT_SIZE               28  
82  #define OSM_GPS_MAP_KEY_FULLSCREEN  'f'  #define OSM_GPS_MAP_KEY_FULLSCREEN  'f'
83  #endif  #endif
84  #define OSM_GPS_MAP_KEY_ZOOMIN      HILDON_HARDKEY_INCREASE  #define OSM_GPS_MAP_KEY_ZOOMIN      HILDON_HARDKEY_INCREASE
# Line 78  Line 94 
94  #define OSM_GPS_MAP_KEY_LEFT        GDK_Left  #define OSM_GPS_MAP_KEY_LEFT        GDK_Left
95  #define OSM_GPS_MAP_KEY_RIGHT       GDK_Right  #define OSM_GPS_MAP_KEY_RIGHT       GDK_Right
96    
 #ifdef USE_MAEMO  
 /* limit screen refresh while dragging to avoid delays */  
 #define OSM_GPS_MAP_REFRESH  25  
 #define OSD_DIAMETER         60  
 #endif  
   
97  /* specify OSD colors explicitely. Otherwise gtk default */  /* specify OSD colors explicitely. Otherwise gtk default */
98  /* colors are used. fremantle always uses gtk defaults */  /* colors are used. fremantle always uses gtk defaults */
99  #if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5)  #if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5)

Legend:
Removed from v.89  
changed lines
  Added in v.111