1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

implement utf8, part 27 (tweak tooltips)

This commit is contained in:
IntelOrca
2015-08-03 18:40:16 +01:00
parent 3c1190e11f
commit 36c5179b39
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ enum {
static TTFFontSetDescriptor TTFFontMingliu = {{
{ "msjh.ttc", 9, -1, -3, 6, NULL },
{ "mingliu.ttc", 11, 1, 0, 12, NULL },
{ "mingliu.ttc", 11, 1, 1, 12, NULL },
{ "mingliu.ttc", 12, 1, 0, 12, NULL },
{ "mingliu.ttc", 13, 1, 0, 20, NULL },
}};

View File

@@ -217,6 +217,6 @@ static void window_tooltip_paint(rct_window *w, rct_drawpixelinfo *dpi)
// Text
left = w->x + ((w->width + 1) / 2) - 1;
top = w->y + 2;
top = w->y + 1;
draw_string_centred_raw(dpi, left, top, RCT2_GLOBAL(RCT2_ADDRESS_TOOLTIP_TEXT_HEIGHT, uint16), gTooltip_text_buffer);
}