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

Method InitFrame

ogsr_engine/xrGame/ScriptXMLInit.cpp:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55void CScriptXmlInit::InitAutoStaticGroup(LPCSTR path, CUIWindow* pWnd) { CUIXmlInit::InitAutoStaticGroup(m_xml, path, 0, pWnd); }
56
57CUIFrameWindow* CScriptXmlInit::InitFrame(LPCSTR path, CUIWindow* parent)
58{
59 CUIFrameWindow* pWnd = xr_new<CUIFrameWindow>();
60 CUIXmlInit::InitFrameWindow(m_xml, path, 0, pWnd);
61 pWnd->SetAutoDelete(true);
62 _attach_child(pWnd, parent);
63 //. if(parent) parent->AttachChild(pWnd);
64 return pWnd;
65}
66
67CUIFrameLineWnd* CScriptXmlInit::InitFrameLine(LPCSTR path, CUIWindow* parent)
68{

Callers

nothing calls this directly

Calls 1

_attach_childFunction · 0.85

Tested by

no test coverage detected