Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diasurgical/DevilutionX
/ SetButtonStateDown
Function
SetButtonStateDown
Source/control.cpp:253–258 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
251
}
252
253
void SetButtonStateDown(int btnId)
254
{
255
PanelButtons[btnId] = true;
256
RedrawComponent(PanelDrawComponent::ControlButtons);
257
panbtndown = true;
258
}
259
260
void PrintInfo(const Surface &out)
261
{
Callers
1
control_check_btn_press
Function · 0.85
Calls
1
RedrawComponent
Function · 0.85
Tested by
no test coverage detected