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

Introduce WF_NO_TITLE_BAR and apply to windows

This commit is contained in:
Michael Steenbeek
2025-02-24 18:03:00 +01:00
committed by Gymnasiast
parent 9f343abdda
commit 078ba79cb8
14 changed files with 18 additions and 13 deletions

View File

@@ -142,7 +142,8 @@ 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, WF_STICK_TO_FRONT | WF_TRANSPARENT);
std::move(errorWindow), WindowClass::Error, windowPosition, width, height,
WF_STICK_TO_FRONT | WF_TRANSPARENT | WF_NO_TITLE_BAR);
}
WindowBase* ErrorOpen(StringId title, StringId message, const Formatter& args, bool autoClose)