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

Method setNewValues

Tools/SkinEditor/ChangeSeparatorOffsetAction.cpp:68–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68 void ChangeSeparatorOffsetAction::setNewValues()
69 {
70 getProperty()->setValue(getValue());
71
72 DataPtr skinData = getProperty()->getOwner()->getParent();
73
74 MyGUI::IntSize size = SkinDataUtility::getSkinSize(skinData);
75 MyGUI::IntRect separators = SkinDataUtility::getSeparatorsOffset(skinData);
76 SkinDataUtility::VectorCoord coords = SkinDataUtility::getRegions(size, separators);
77 SkinDataUtility::fillRegionCoords(skinData, coords);
78 }
79
80}

Callers

nothing calls this directly

Calls 4

getValueFunction · 0.50
setValueMethod · 0.45
getParentMethod · 0.45
getOwnerMethod · 0.45

Tested by

no test coverage detected