1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00

Centralise ResizeFrame in WindowBase and call when setting widgets or resizing

This commit is contained in:
Aaron van Geffen
2025-04-11 20:37:54 +02:00
parent 6d7b312e7a
commit 3f87e2b67a
75 changed files with 251 additions and 440 deletions

View File

@@ -556,11 +556,6 @@ namespace OpenRCT2::Ui::Windows
}
}
void OnResize() override
{
ResizeFrame();
}
void Initialise(utf8* path, const size_t numMissingObjects, const ObjectEntryDescriptor* missingObjects)
{
_invalidEntries = std::vector<ObjectEntryDescriptor>(missingObjects, missingObjects + numMissingObjects);