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

Method storeRegionValues

Tools/SkinEditor/ChangeSeparatorOffsetAction.cpp:47–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 void ChangeSeparatorOffsetAction::storeRegionValues(DataPtr _skinData, VectorPairProperty& _store)
48 {
49 const Data::VectorData& childs = _skinData->getChilds();
50 for (const auto& child : childs)
51 {
52 if (child->getType()->getName() != "Region")
53 continue;
54
55 PropertyPtr property = child->getProperty("Coord");
56 _store.emplace_back(property, property->getValue());
57 }
58 }
59
60 void ChangeSeparatorOffsetAction::storeOldValues()
61 {

Callers

nothing calls this directly

Calls 3

getTypeMethod · 0.45
getPropertyMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected