1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Move widget strings from localisation to Widget.h (#22279)

This commit is contained in:
Aaron van Geffen
2024-07-12 20:47:56 +02:00
committed by GitHub
parent 749a1d5ac3
commit cee2eb1461
8 changed files with 18 additions and 22 deletions

View File

@@ -754,9 +754,7 @@ static std::vector<Widget> _window_editor_object_selection_widgets = {
if (*listItem.flags & (ObjectSelectionFlags::InUse | ObjectSelectionFlags::AlwaysRequired))
colour2.setFlag(ColourFlag::inset, true);
DrawText(
dpi, screenCoords, { colour2, FontStyle::Medium, darkness },
static_cast<const char*>(CheckBoxMarkString));
DrawText(dpi, screenCoords, { colour2, FontStyle::Medium, darkness }, kCheckMarkString);
}
screenCoords.x = gScreenFlags & SCREEN_FLAGS_TRACK_MANAGER ? 0 : 15;