1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00

Move WindowFind functions into WindowManager (#23517)

* Move WindowFind* functions into WindowManager

* Update parameter documentation where applicable
This commit is contained in:
Aaron van Geffen
2025-01-08 21:12:11 +01:00
committed by GitHub
parent a8ef595248
commit aa45247f21
58 changed files with 657 additions and 354 deletions

View File

@@ -69,6 +69,26 @@ namespace OpenRCT2::Ui
{
return nullptr;
}
WindowBase* FindByClass(WindowClass cls) override
{
return nullptr;
}
WindowBase* FindByNumber(WindowClass cls, rct_windownumber number) override
{
return nullptr;
}
WindowBase* FindByNumber(WindowClass cls, EntityId id) override
{
return nullptr;
}
WindowBase* FindFromPoint(const ScreenCoordsXY& screenCoords) override
{
return nullptr;
}
WidgetIndex FindWidgetFromPoint(WindowBase& w, const ScreenCoordsXY& screenCoords) override
{
return -1;
}
};
std::unique_ptr<IWindowManager> CreateDummyWindowManager()