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 |
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 |
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) { |