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

Method updateCoords

Tools/SkinEditor/SeparatorTextureController.cpp:173–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 }
172
173 void SeparatorTextureController::updateCoords(std::string_view _value)
174 {
175 MyGUI::IntCoord coord;
176 if (MyGUI::utility::parseComplex(_value, coord.left, coord.top, coord.width, coord.height))
177 mTextureCoord = coord;
178 else
179 mTextureCoord.clear();
180
181 mControl->setTextureRegion(mTextureCoord);
182
183 updateFrames();
184 }
185
186 void SeparatorTextureController::updateFrames()
187 {

Callers

nothing calls this directly

Calls 3

parseComplexFunction · 0.85
clearMethod · 0.45
setTextureRegionMethod · 0.45

Tested by

no test coverage detected