MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / widgetSetPressed

Function widgetSetPressed

src/openrct2-ui/interface/Widget.cpp:1113–1116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1111 }
1112
1113 void widgetSetPressed(WindowBase& w, WidgetIndex widgetIndex, bool value)
1114 {
1115 SafeSetWidgetFlag(w, widgetIndex, WidgetFlag::isPressed, value);
1116 }
1117
1118 void widgetSetCheckboxValue(WindowBase& w, WidgetIndex widgetIndex, bool value)
1119 {

Callers 11

setWidgetPressedMethod · 0.85
widgetSetCheckboxValueFunction · 0.85
widgetsClearPressedFunction · 0.85
onOpenMethod · 0.85
updatePressedTabMethod · 0.85
onOpenMethod · 0.85
onOpenMethod · 0.85
onMouseUpMethod · 0.85

Calls 1

SafeSetWidgetFlagFunction · 0.85

Tested by

no test coverage detected