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

Method InitCheck

ogsr_engine/xrGame/ScriptXMLInit.cpp:137–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137CUICheckButton* CScriptXmlInit::InitCheck(LPCSTR path, CUIWindow* parent)
138{
139 CUICheckButton* pWnd = xr_new<CUICheckButton>();
140 CUIXmlInit::InitCheck(m_xml, path, 0, pWnd);
141 pWnd->SetAutoDelete(true);
142 _attach_child(pWnd, parent);
143 //. if(parent) parent->AttachChild(pWnd);
144 return pWnd;
145}
146
147CUISpinNum* CScriptXmlInit::InitSpinNum(LPCSTR path, CUIWindow* parent)
148{

Callers

nothing calls this directly

Calls 1

_attach_childFunction · 0.85

Tested by

no test coverage detected