| 259 | } |
| 260 | |
| 261 | MyGUI::IntPoint TextureControlLE::getMousePosition() |
| 262 | { |
| 263 | MyGUI::IntPoint point = MyGUI::InputManager::getInstance().getMousePosition() - mTexture->getAbsolutePosition(); |
| 264 | point.left = (int)((double)point.left / mScaleValue); |
| 265 | point.top = (int)((double)point.top / mScaleValue); |
| 266 | |
| 267 | return point; |
| 268 | } |
| 269 | |
| 270 | void TextureControlLE::onChangeScale() |
| 271 | { |
no outgoing calls
no test coverage detected