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

Method setNewValues

Tools/SkinEditor/ChangeSkinSizeAction.cpp:68–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

getValueFunction · 0.50
setValueMethod · 0.45
getOwnerMethod · 0.45

Tested by

no test coverage detected