Diff of /trunk/src/config.h

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

revision 79 by harbaum, Tue Aug 25 13:00:37 2009 UTC revision 105 by harbaum, Wed Sep 9 19:57:45 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    
53  #ifdef USE_MAEMO  #ifdef USE_MAEMO
54  #define BIG_BALLONS  #define BIG_BALLOONS
55  #define BALLOON_AREA_WIDTH       380  #define BALLOON_AREA_WIDTH       380
56  #define BALLOON_AREA_HEIGHT      100  #define BALLOON_AREA_HEIGHT      100
57  #define BALLOON_CORNER_RADIUS     20  #define BALLOON_CORNER_RADIUS     20
58    #define OSD_FONT_SIZE             28
59    /* limit screen refresh while dragging to avoid delays */
60    #define OSM_GPS_MAP_REFRESH  25
61    #define OSD_DIAMETER         60
62    #define OSD_SCALE_FONT_SIZE  20
63  #endif  #endif
64    
65    
66  /* only maemo devices up to version 4 have a fullscreen button */  /* only maemo devices up to version 4 have a fullscreen button */
67  #ifdef USE_MAEMO  #ifdef USE_MAEMO
68  #include <hildon/hildon-defines.h>  #include <hildon/hildon-defines.h>
# Line 77  Line 84 
84  #define OSM_GPS_MAP_KEY_LEFT        GDK_Left  #define OSM_GPS_MAP_KEY_LEFT        GDK_Left
85  #define OSM_GPS_MAP_KEY_RIGHT       GDK_Right  #define OSM_GPS_MAP_KEY_RIGHT       GDK_Right
86    
 #ifdef USE_MAEMO  
 /* limit screen refresh while dragging to avoid delays */  
 #define OSM_GPS_MAP_REFRESH  25  
 #define OSD_DIAMETER         60  
 #endif  
   
87  /* specify OSD colors explicitely. Otherwise gtk default */  /* specify OSD colors explicitely. Otherwise gtk default */
88  /* colors are used. fremantle always uses gtk defaults */  /* colors are used. fremantle always uses gtk defaults */
89  #if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5)  #if !defined(USE_MAEMO) || (MAEMO_VERSION_MAJOR < 5)
# Line 97  Line 98 
98  #define OSD_DOUBLE_BUFFER    // render osd/map together offscreen  #define OSD_DOUBLE_BUFFER    // render osd/map together offscreen
99  #define OSD_GPS_BUTTON       // display a GPS button  #define OSD_GPS_BUTTON       // display a GPS button
100  #define OSD_NO_DPAD          // no direction arrows (map is panned)  #define OSD_NO_DPAD          // no direction arrows (map is panned)
101    #define OSD_SOURCE_SEL       // display source selection tab
102    
103  #endif // CONFIG_H  #endif // CONFIG_H

Legend:
Removed from v.79  
changed lines
  Added in v.105