MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Update

Method Update

ogsr_engine/xrGame/ui/UICheckButton.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19void CUICheckButton::SetDependControl(CUIWindow* pWnd) { m_pDependControl = pWnd; }
20
21void CUICheckButton::Update()
22{
23 CUI3tButton::Update();
24
25 if (m_pDependControl)
26 m_pDependControl->Enable(GetCheck());
27}
28
29void CUICheckButton::SetCurrentValue() { SetCheck(GetOptBoolValue()); }
30

Callers

nothing calls this directly

Calls 2

UpdateFunction · 0.85
EnableMethod · 0.45

Tested by

no test coverage detected