| 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 | { |
nothing calls this directly
no test coverage detected