Rename DrawTextBasic() to DrawText()

This commit is contained in:
Gymnasiast committed 2026-03-25 23:15:49 +01:00
1 parent 258b10ba13
commit 2398d91fb2
63 files changed
+430 -454

No files matched your search

+2 -2
View File
@@ -606,7 +606,7 @@ namespace OpenRCT2::Ui::Windows
// Draw build this... label
screenCoords = this->windowPos
+ ScreenCoordsXY{ widgets[WIDX_CONSTRUCT].midX(), widgets[WIDX_CONSTRUCT].bottom - 23 };
DrawTextBasic(rt, screenCoords, STR_BUILD_THIS, {}, { TextAlignment::centre });
DrawText(rt, screenCoords, STR_BUILD_THIS, {}, { TextAlignment::centre });
}
// Draw cost
@@ -618,7 +618,7 @@ namespace OpenRCT2::Ui::Windows
{
auto ft = Formatter();
ft.Add<money64>(_windowFootpathCost);
DrawTextBasic(rt, screenCoords, STR_COST_LABEL, ft, { TextAlignment::centre });
DrawText(rt, screenCoords, STR_COST_LABEL, ft, { TextAlignment::centre });
}
}
}