| 75 | } |
| 76 | |
| 77 | CUILabel* CScriptXmlInit::InitLabel(LPCSTR path, CUIWindow* parent) |
| 78 | { |
| 79 | CUILabel* pWnd = xr_new<CUILabel>(); |
| 80 | CUIXmlInit::InitLabel(m_xml, path, 0, pWnd); |
| 81 | pWnd->SetAutoDelete(true); |
| 82 | _attach_child(pWnd, parent); |
| 83 | //. if(parent) parent->AttachChild(pWnd); |
| 84 | return pWnd; |
| 85 | } |
| 86 | |
| 87 | CUIEditBox* CScriptXmlInit::InitEditBox(LPCSTR path, CUIWindow* parent) |
| 88 | { |
nothing calls this directly
no test coverage detected