MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / SetState

Method SetState

SDK/src/NDK/Widgets/CheckboxWidget.cpp:76–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 void CheckboxWidget::SetState(CheckboxState state)
77 {
78 if (!m_checkboxEnabled)
79 return;
80
81 if (state == CheckboxState_Tristate)
82 m_tristateEnabled = true;
83
84 m_state = state;
85 UpdateCheckbox();
86 }
87
88 CheckboxState CheckboxWidget::SwitchToNextState()
89 {

Callers 1

StateMachine.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected