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

Method notifyChangeValue

Tools/ImageEditor/FrameTextureController.cpp:101–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100
101 void FrameTextureController::notifyChangeValue(std::string_view _value)
102 {
103 if (mParentData != nullptr)
104 {
105 DataPtr selected = mParentData->getChildSelected();
106 if (selected != nullptr)
107 {
108 MyGUI::IntCoord coord = MyGUI::IntCoord::parse(_value);
109 PropertyPtr property = selected->getProperty("Point");
110 PropertyUtility::executeAction(property, coord.point().print(), true);
111 }
112 }
113 }
114
115 void FrameTextureController::notifyChangeScope(std::string_view _scope)
116 {

Callers

nothing calls this directly

Calls 5

getChildSelectedMethod · 0.80
parseFunction · 0.50
getPropertyMethod · 0.45
printMethod · 0.45
pointMethod · 0.45

Tested by

no test coverage detected