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

Method InitComboBox

ogsr_engine/xrGame/ScriptXMLInit.cpp:177–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177CUIComboBox* CScriptXmlInit::InitComboBox(LPCSTR path, CUIWindow* parent)
178{
179 CUIComboBox* pWnd = xr_new<CUIComboBox>();
180 CUIXmlInit::InitComboBox(m_xml, path, 0, pWnd);
181 pWnd->SetAutoDelete(true);
182 _attach_child(pWnd, parent);
183 //. if(parent) parent->AttachChild(pWnd);
184 return pWnd;
185}
186
187CUIButton* CScriptXmlInit::InitButton(LPCSTR path, CUIWindow* parent)
188{

Callers

nothing calls this directly

Calls 1

_attach_childFunction · 0.85

Tested by

no test coverage detected