1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00

Part of #11564: gfx_draw_string_centred_clipped with ScreenCoordsXY

This commit is contained in:
Tulio Leao
2020-06-11 10:58:19 -03:00
parent ce171164c9
commit 613cec3f7a
14 changed files with 31 additions and 28 deletions

View File

@@ -1067,7 +1067,7 @@ static void window_editor_object_selection_paint(rct_window* w, rct_drawpixelinf
ft.Add<rct_string_id>(STR_STRING);
ft.Add<const char*>(listItem->repositoryItem->Name.c_str());
gfx_draw_string_centred_clipped(
dpi, STR_WINDOW_COLOUR_2_STRINGID, gCommonFormatArgs, COLOUR_BLACK, screenPos.x, screenPos.y, width);
dpi, STR_WINDOW_COLOUR_2_STRINGID, gCommonFormatArgs, COLOUR_BLACK, screenPos, width);
}
// Draw description of object