1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00

Pass ScreenSize to makeWindowShim()

This commit is contained in:
Gymnasiast
2025-06-10 22:27:50 +02:00
parent bdba89f428
commit 81e3181ebb
63 changed files with 71 additions and 71 deletions

View File

@@ -68,7 +68,7 @@ namespace OpenRCT2::Ui::Windows
// clang-format off
static constexpr auto _trackPlaceWidgets = makeWidgets(
makeWindowShim(WINDOW_TITLE, WW, WH),
makeWindowShim(WINDOW_TITLE, { WW, WH }),
makeWidget({173, 83}, { 24, 24}, WidgetType::flatBtn, WindowColour::primary, ImageId(SPR_ROTATE_ARROW), STR_ROTATE_90_TIP ),
makeWidget({173, 59}, { 24, 24}, WidgetType::flatBtn, WindowColour::primary, ImageId(SPR_MIRROR_ARROW), STR_MIRROR_IMAGE_TIP ),
makeWidget({ 4, 109}, {192, 12}, WidgetType::button, WindowColour::primary, STR_SELECT_A_DIFFERENT_DESIGN, STR_GO_BACK_TO_DESIGN_SELECTION_WINDOW_TIP),