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

Method updateCoords

Tools/SkinEditor/StateTextureController.cpp:172–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 void StateTextureController::updateCoords(std::string_view _value)
173 {
174 MyGUI::IntCoord coord;
175 if (MyGUI::utility::parseComplex(_value, coord.left, coord.top, coord.width, coord.height))
176 mSize = coord.size();
177 else
178 mSize.clear();
179
180 updateFrames();
181 }
182
183 void StateTextureController::updateFrames()
184 {

Callers

nothing calls this directly

Calls 3

parseComplexFunction · 0.85
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected