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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user