MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / SetCheck

Method SetCheck

ui/UIButton.cpp:468–474  ·  view source on GitHub ↗

turns on button, turns off others in group.

Source from the content-addressed store, hash-verified

466
467// turns on button, turns off others in group.
468void UICheckBox::SetCheck(bool state) {
469 if (state) {
470 m_State = UI_BTS_ACTIVATED;
471 } else {
472 m_State = UI_BTS_INACTIVE;
473 }
474}
475
476// behavior when gadget is being drawn.
477void UICheckBox::OnDraw() {

Callers 15

OnInitDialogMethod · 0.80
OnBtnDetectMethod · 0.80
OnInitDialogMethod · 0.80
OnInitDialogMethod · 0.80
SetMixerButtonMethod · 0.80
OnInitDialogMethod · 0.80
OnInitDialogMethod · 0.80
OnUpdateViewFullRowMethod · 0.80
OnInitDialogMethod · 0.80
OnInitDialogMethod · 0.80
UpdateDialogMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected