mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
committed by
GitHub
parent
c38e9b59b0
commit
2a8872018b
@@ -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);
|
||||
|
||||
@@ -22,6 +22,7 @@ struct Window : WindowBase
|
||||
void InvalidateWidget(WidgetIndex widgetIndex);
|
||||
bool IsWidgetDisabled(WidgetIndex widgetIndex) const;
|
||||
bool IsWidgetPressed(WidgetIndex widgetIndex) const;
|
||||
void SetWidgetEnabled(WidgetIndex widgetIndex, bool value);
|
||||
void SetWidgetDisabled(WidgetIndex widgetIndex, bool value);
|
||||
void SetWidgetPressed(WidgetIndex widgetIndex, bool value);
|
||||
void SetCheckboxValue(WidgetIndex widgetIndex, bool value);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user