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

Pass ScreenSize to window creation functions

This commit is contained in:
Gymnasiast
2025-06-10 22:20:27 +02:00
parent bd6ae5848c
commit bdba89f428
78 changed files with 154 additions and 151 deletions

View File

@@ -142,7 +142,7 @@ namespace OpenRCT2::Ui::Windows
auto errorWindow = std::make_unique<ErrorWindow>(std::move(buffer), numLines, autoClose);
return windowMgr->Create(
std::move(errorWindow), WindowClass::Error, windowPosition, width, height,
std::move(errorWindow), WindowClass::Error, windowPosition, { width, height },
WF_STICK_TO_FRONT | WF_TRANSPARENT | WF_NO_TITLE_BAR);
}