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

Method updateCoords

Tools/SkinEditor/RegionTextureController.cpp:180–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 }
179
180 void RegionTextureController::updateCoords(std::string_view _value)
181 {
182 MyGUI::IntCoord coord;
183 if (MyGUI::utility::parseComplex(_value, coord.left, coord.top, coord.width, coord.height))
184 mTextureCoord = coord;
185 else
186 mTextureCoord.clear();
187
188 mControl->setTextureRegion(mTextureCoord);
189
190 updateFrames();
191 }
192
193 void RegionTextureController::updateFrames()
194 {

Callers

nothing calls this directly

Calls 3

parseComplexFunction · 0.85
clearMethod · 0.45
setTextureRegionMethod · 0.45

Tested by

no test coverage detected