| 27 | } |
| 28 | |
| 29 | void SeparatorPartControl::notifyMouseButtonPressed( |
| 30 | MyGUI::Widget* _sender, |
| 31 | int _left, |
| 32 | int _top, |
| 33 | MyGUI::MouseButton _id) |
| 34 | { |
| 35 | if (_id == MyGUI::MouseButton::Left) |
| 36 | { |
| 37 | mStartLeftPanel = mLeftPanel->getCoord(); |
| 38 | mStartRightPanel = mRightPanel->getCoord(); |
| 39 | mStartSeparatorH = mSeparatorH->getCoord(); |
| 40 | mStartMousePosition = MyGUI::InputManager::getInstance().getMousePosition(); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | void SeparatorPartControl::notifyMouseDrag(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id) |
| 45 | { |
nothing calls this directly
no test coverage detected