forked from rosebudai/OpenRCT2-Web
Rename DrawTextBasic() to DrawText()
This commit is contained in:
63 files changed
+430
-454
No files matched your search
@@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user