Diff of /trunk/src/osm-gps-map.c

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

revision 68 by harbaum, Thu Aug 20 09:54:10 2009 UTC revision 69 by harbaum, Thu Aug 20 18:54:06 2009 UTC
# Line 1476  osm_gps_map_osd_dpad_shape(cairo_t *cr, Line 1476  osm_gps_map_osd_dpad_shape(cairo_t *cr,
1476      cairo_arc (cr, x+D_RAD, y+D_RAD, D_RAD, 0, 2 * M_PI);      cairo_arc (cr, x+D_RAD, y+D_RAD, D_RAD, 0, 2 * M_PI);
1477  }  }
1478    
 typedef enum {  
     OSD_NONE = 0,  
     OSD_BG,  
     OSD_UP,  
     OSD_DOWN,  
     OSD_LEFT,  
     OSD_RIGHT,  
     OSD_IN,  
     OSD_OUT,  
     OSD_GPS  
 } osd_button_t;  
   
1479  static gboolean  static gboolean
1480  osm_gps_map_in_circle(gint x, gint y, gint cx, gint cy, gint rad)  osm_gps_map_in_circle(gint x, gint y, gint cx, gint cy, gint rad)
1481  {  {
# Line 1551  osm_gps_map_osd_check_zoom(gint x, gint Line 1539  osm_gps_map_osd_check_zoom(gint x, gint
1539      return OSD_NONE;      return OSD_NONE;
1540  }  }
1541    
1542  static osd_button_t  osd_button_t
1543  osm_gps_map_osd_check(gint x, gint y) {  osm_gps_map_osd_check(gint x, gint y) {
1544      osd_button_t but = OSD_NONE;      osd_button_t but = OSD_NONE;
1545    

Legend:
Removed from v.68  
changed lines
  Added in v.69