Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ isEnabled
Method
isEnabled
src/OpenLoco/src/Ui/Window.cpp:102–105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
100
}
101
102
bool Window::isEnabled(WidgetIndex_t widgetIndex)
103
{
104
return (this->disabledWidgets & (1ULL << widgetIndex)) == 0;
105
}
106
107
bool Window::isDisabled(WidgetIndex_t widgetIndex)
108
{
Callers
2
statePositioningWindow
Function · 0.80
stateNormalLeft
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected