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

Method storeRegionValues

Tools/SkinEditor/ChangeSeparatorVisibleAction.cpp:31–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 }
30
31 void ChangeSeparatorVisibleAction::storeRegionValues(DataPtr _skinData, VectorPairProperty& _store)
32 {
33 const Data::VectorData& childs = _skinData->getChilds();
34 for (const auto& child : childs)
35 {
36 if (child->getType()->getName() != "Region")
37 continue;
38
39 PropertyPtr property = child->getProperty("Enable");
40 _store.emplace_back(property, property->getValue());
41
42 property = child->getProperty("Coord");
43 _store.emplace_back(property, property->getValue());
44 }
45 }
46
47 void ChangeSeparatorVisibleAction::storeOldValues()
48 {

Callers

nothing calls this directly

Calls 3

getTypeMethod · 0.45
getPropertyMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected