mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Replace GfxDrawStringNoFormatting() (#19414)
* Replace GfxDrawStringNoFormatting() * Unwrap static DrawText overload
This commit is contained in:
committed by
GitHub
parent
b56748bc82
commit
583b4ed0e6
@@ -239,7 +239,7 @@ public:
|
||||
for (int32_t line = 0; line <= no_lines; line++)
|
||||
{
|
||||
screenCoords.x = windowPos.x + 12;
|
||||
GfxDrawStringNoFormatting(&dpi, screenCoords, wrapPointer, { colours[1], FontStyle::Medium });
|
||||
DrawText(&dpi, screenCoords, { colours[1], FontStyle::Medium, TextAlignment::LEFT }, wrapPointer, true);
|
||||
|
||||
size_t string_length = GetStringSize(wrapPointer) - 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user