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

Rename snake_case Class names (Remaining Bits) (#19237)

* Rename snake_case Class names

* Clang format

* Fix build issues
This commit is contained in:
Duncan
2023-01-21 19:57:17 +00:00
committed by GitHub
parent 09b1074d08
commit e09f27df3c
160 changed files with 2014 additions and 2015 deletions

View File

@@ -871,15 +871,15 @@ StringId ThemeDescGetName(WindowClass wc)
void ColourSchemeUpdateAll()
{
WindowVisitEach([](rct_window* w) { ColourSchemeUpdate(w); });
WindowVisitEach([](WindowBase* w) { ColourSchemeUpdate(w); });
}
void ColourSchemeUpdate(rct_window* window)
void ColourSchemeUpdate(WindowBase* window)
{
ColourSchemeUpdateByClass(window, window->classification);
}
void ColourSchemeUpdateByClass(rct_window* window, WindowClass classification)
void ColourSchemeUpdateByClass(WindowBase* window, WindowClass classification)
{
const WindowTheme* windowTheme;
const UIThemeWindowEntry* entry = ThemeManager::CurrentTheme->GetEntry(classification);