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

Method notifyChangeProperty

Tools/SkinEditor/SkinTextureController.cpp:70–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

getOwnerMethod · 0.45
getTypeMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected