forked from rosebudai/OpenRCT2-Web
1 parent
c38e9b59b0
commit
2a8872018b
3 files changed
+1000
-998
No files matched your search
@@ -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);
|
||||
|
||||
+994
-998
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user