void CUIDebugFonts::Init(float x, float y, float width, float height){ CUIDialogWnd::Init(x, y, width, height); FillUpList(); m_background.Init(x, y, width, height); m_background.InitTexture("ui\\ui_debug_font"); }
void CUIMpChangeMapAdm::Init(CUIXml& xml_doc) { CUIXmlInit::InitWindow(xml_doc, "change_map_adm", 0, this); CUIXmlInit::InitStatic(xml_doc, "change_map_adm:map_frame", 0, map_frame); CUIXmlInit::InitTextWnd(xml_doc, "change_map_adm:map_ver_txt", 0, map_version); CUIXmlInit::InitStatic(xml_doc, "change_map_adm:map_pic", 0, map_pic); CUIXmlInit::InitListBox(xml_doc, "change_map_adm:list", 0, lst); CUIXmlInit::Init3tButton(xml_doc, "change_map_adm:btn_ok", 0, btn_ok); FillUpList(); }
void CUIChangeMap::Init(CUIXml& xml_doc) { CUIXmlInit::InitWindow (xml_doc, "change_map", 0, this); CUIXmlInit::InitStatic (xml_doc, "change_map:header", 0, header); CUIXmlInit::InitStatic (xml_doc, "change_map:background", 0, bkgrnd); CUIXmlInit::InitStatic (xml_doc, "change_map:map_frame", 0, map_frame); CUIXmlInit::InitStatic (xml_doc, "change_map:map_pic", 0, map_pic); map_pic->ClipperOn(); CUIXmlInit::InitFrameWindow (xml_doc, "change_map:list_back", 0, lst_back); CUIXmlInit::InitFrameWindow (xml_doc, "change_map:frame", 0, frame); CUIXmlInit::InitListBox (xml_doc, "change_map:list", 0, lst); CUIXmlInit::Init3tButton (xml_doc, "change_map:btn_ok", 0, btn_ok); CUIXmlInit::Init3tButton (xml_doc, "change_map:btn_cancel", 0, btn_cancel); map_pic->InitTexture ("ui\\ui_noise"); FillUpList (); }