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

Method updateCoords

Tools/ImageEditor/GroupTextureController.cpp:138–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 }
137
138 void GroupTextureController::updateCoords(std::string_view _value)
139 {
140 MyGUI::IntCoord coord;
141 if (MyGUI::utility::parseComplex(_value, coord.left, coord.top, coord.width, coord.height))
142 {
143 mControl->setCoordValue(coord, ScopeTextureControl::SelectorCoord);
144 }
145 else
146 {
147 mControl->clearCoordValue();
148 }
149 }
150
151}

Callers

nothing calls this directly

Calls 3

parseComplexFunction · 0.85
setCoordValueMethod · 0.80
clearCoordValueMethod · 0.80

Tested by

no test coverage detected