| 44 | } |
| 45 | |
| 46 | void DemoKeeper::injectMousePress(int _absx, int _absy, MyGUI::MouseButton _id) |
| 47 | { |
| 48 | if (_id == MyGUI::MouseButton::Right) |
| 49 | rotato->setCenter(MyGUI::IntPoint(_absx, _absy) - image->getAbsolutePosition()); |
| 50 | |
| 51 | base::BaseManager::injectMousePress(_absx, _absy, _id); |
| 52 | } |
| 53 | |
| 54 | void DemoKeeper::injectMouseMove(int _absx, int _absy, int _absz) |
| 55 | { |