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

Function widgetSetCheckboxValue

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

Source from the content-addressed store, hash-verified

1116 }
1117
1118 void widgetSetCheckboxValue(WindowBase& w, WidgetIndex widgetIndex, bool value)
1119 {
1120 widgetSetPressed(w, widgetIndex, value);
1121 }
1122
1123 void widgetsClearPressed(WindowBase& w, std::initializer_list<WidgetIndex> indices)
1124 {

Callers 3

onMouseUpMethod · 0.85
isPressed_setMethod · 0.85
isChecked_setMethod · 0.85

Calls 1

widgetSetPressedFunction · 0.85

Tested by

no test coverage detected