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

Method updateCoords

Tools/ImageEditor/IndexTextureController.cpp:145–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 }
144
145 void IndexTextureController::updateCoords(std::string_view _value)
146 {
147 MyGUI::IntCoord coord;
148 if (MyGUI::utility::parseComplex(_value, coord.left, coord.top, coord.width, coord.height))
149 mSize = coord.size();
150 else
151 mSize.clear();
152
153 updateFrames();
154 }
155
156 void IndexTextureController::updateFrames()
157 {

Callers

nothing calls this directly

Calls 3

parseComplexFunction · 0.85
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected