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

Method notifyChangeProperty

Tools/SkinEditor/SeparatorTextureController.cpp:90–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 void SeparatorTextureController::notifyChangeProperty(PropertyPtr _sender)
91 {
92 if (!mActivated)
93 return;
94
95 if (_sender->getOwner()->getType()->getName() == "Skin")
96 {
97 if (_sender->getType()->getName() == "Texture")
98 mControl->setTextureValue(_sender->getValue());
99 else if (_sender->getType()->getName() == "Size")
100 updateCoords(_sender->getValue());
101 }
102 else if (_sender->getOwner()->getType()->getName() == "Separator")
103 {
104 if (_sender->getType()->getName() == "Offset")
105 updateFrames();
106 else if (_sender->getType()->getName() == "Visible")
107 updateFrames();
108 }
109 }
110
111 void SeparatorTextureController::notifyChangeValue(std::string_view _value)
112 {

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected