Diff of /trunk/src/map-tool.c

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

revision 189 by harbaum, Tue Nov 17 09:07:17 2009 UTC revision 190 by harbaum, Tue Nov 17 10:22:41 2009 UTC
# Line 498  cairo_draw_pixbuf(cairo_t *cr, GdkPixbuf Line 498  cairo_draw_pixbuf(cairo_t *cr, GdkPixbuf
498  #define LINE_SKIP  7  #define LINE_SKIP  7
499  #else  #else
500  #define ICON_SIZE  ICON_CACHE_TYPE_1_5X  #define ICON_SIZE  ICON_CACHE_TYPE_1_5X
501  #define LINE_SKIP  12  #define LINE_SKIP  7
502  #endif  #endif
503    
504  static void  static void
# Line 566  balloon_cb(osm_gps_map_balloon_event_t * Line 566  balloon_cb(osm_gps_map_balloon_event_t *
566      x = event->data.draw.rect->x;      x = event->data.draw.rect->x;
567    
568      /* everything from here uses the same font */      /* everything from here uses the same font */
569      cairo_select_font_face (event->data.draw.cr, "Sans", CAIRO_FONT_SLANT_NORMAL,      cairo_select_font_face (event->data.draw.cr, "Sans",
570                                CAIRO_FONT_SLANT_NORMAL,
571                              CAIRO_FONT_WEIGHT_NORMAL);                              CAIRO_FONT_WEIGHT_NORMAL);
572    
573  #ifndef BIG_BALLOONS  #ifndef BIG_BALLOONS
574  #define FONT_SIZE 14.0  #define FONT_SIZE 14.0
575  #else  #else
# Line 613  balloon_cb(osm_gps_map_balloon_event_t * Line 615  balloon_cb(osm_gps_map_balloon_event_t *
615        /* draw terrain stars */        /* draw terrain stars */
616        cairo_draw_pixbuf(event->data.draw.cr, icon, x, y + icon_y);        cairo_draw_pixbuf(event->data.draw.cr, icon, x, y + icon_y);
617    
618        x += gdk_pixbuf_get_width(icon) + LINE_SKIP - 2;        x += gdk_pixbuf_get_width(icon) + LINE_SKIP;
619      }      }
620    
621      if(cache->difficulty) {      if(cache->difficulty) {

Legend:
Removed from v.189  
changed lines
  Added in v.190