| 62 | } |
| 63 | |
| 64 | void TextureControl::setTextureRegion(const MyGUI::IntCoord& _value) |
| 65 | { |
| 66 | mTextureRegion = _value; |
| 67 | mTexture->setImageCoord(mTextureRegion); |
| 68 | mTexture->setImageTile(mTextureRegion.size()); |
| 69 | mTexture->setImageIndex(0); |
| 70 | |
| 71 | updateScale(); |
| 72 | } |
| 73 | |
| 74 | const MyGUI::IntCoord& TextureControl::getTextureRegion() const |
| 75 | { |
nothing calls this directly
no test coverage detected