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

Method doMerge

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

Source from the content-addressed store, hash-verified

29 }
30
31 bool ChangeSeparatorOffsetAction::doMerge(Action* _action)
32 {
33 ChangeSeparatorOffsetAction* action = dynamic_cast<ChangeSeparatorOffsetAction*>(_action);
34 if (action != nullptr)
35 {
36 if (action->getProperty() == getProperty())
37 {
38 setValue(action->getValue());
39 setNewValues();
40 return true;
41 }
42 }
43
44 return false;
45 }
46
47 void ChangeSeparatorOffsetAction::storeRegionValues(DataPtr _skinData, VectorPairProperty& _store)
48 {

Callers

nothing calls this directly

Calls 3

setValueFunction · 0.50
getPropertyMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected