1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Close #13780: Refactor MapGen to class (#19477)

This commit is contained in:
Michael Steenbeek
2023-03-01 09:26:30 +01:00
committed by GitHub
parent c38e9b59b0
commit 2a8872018b
3 changed files with 1000 additions and 998 deletions

View File

@@ -738,6 +738,11 @@ bool Window::IsWidgetPressed(WidgetIndex widgetIndex) const
return WidgetIsPressed(*this, widgetIndex);
}
void Window::SetWidgetEnabled(WidgetIndex widgetIndex, bool value)
{
WidgetSetEnabled(*this, widgetIndex, value);
}
void Window::SetWidgetDisabled(WidgetIndex widgetIndex, bool value)
{
WidgetSetDisabled(*this, widgetIndex, value);