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

Method notifyChangeProperty

Tools/ImageEditor/GroupTextureController.cpp:70–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 }
69
70 void GroupTextureController::notifyChangeProperty(PropertyPtr _sender)
71 {
72 if (!mActivated || !PropertyUtility::isDataSelected(_sender->getOwner()))
73 return;
74
75 if (_sender->getOwner()->getType()->getName() == "Group")
76 {
77 if (_sender->getType()->getName() == "Texture")
78 mControl->setTextureValue(_sender->getValue());
79 else if (_sender->getType()->getName() == "Size")
80 updateCoords(_sender->getValue());
81 }
82 }
83
84 void GroupTextureController::notifyChangeValue(std::string_view _value)
85 {

Callers

nothing calls this directly

Calls 4

setTextureValueMethod · 0.80
getOwnerMethod · 0.45
getTypeMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected