void CGUI::Xeromyces_ReadRootStyles(XMBElement Element, CXeromyces* pFile) { // Iterate main children // they should all be <styles> elements XMBElementList children = Element.GetChildNodes(); for (int i=0; i<children.Count; ++i) { XMBElement child = children.Item(i); // Read in this whole object into the GUI Xeromyces_ReadStyle(child, pFile); } }
void CGUI::Xeromyces_ReadRootStyles(XMBElement Element, CXeromyces* pFile) { for (XMBElement child : Element.GetChildNodes()) Xeromyces_ReadStyle(child, pFile); }