MCPcopy Create free account
hub / github.com/MyGUI/mygui / loadSkinReplace

Method loadSkinReplace

Tools/LayoutEditor/EditorWidgets.cpp:716–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714 }
715
716 void EditorWidgets::loadSkinReplace(
717 MyGUI::xml::ElementPtr _node,
718 std::string_view /*_file*/,
719 MyGUI::Version /*_version*/)
720 {
721 MyGUI::xml::ElementEnumerator node = _node->getElementEnumerator();
722 while (node.next("Skin"))
723 {
724 MyGUI::mapSet(mSkinReplaces, node->findAttribute("key"), node->getContent());
725 }
726 }
727
728 bool EditorWidgets::isSkinExist(std::string_view _skinName)
729 {

Callers

nothing calls this directly

Calls 4

getElementEnumeratorMethod · 0.80
findAttributeMethod · 0.80
mapSetFunction · 0.70
nextMethod · 0.45

Tested by

no test coverage detected