| 1221 | } |
| 1222 | |
| 1223 | void GuiCanvas::checkLockMouseMove( const GuiEvent& event ) |
| 1224 | { |
| 1225 | GuiControl* controlHit = findHitControl( event.mousePoint ); |
| 1226 | if( controlHit != mMouseControl ) |
| 1227 | { |
| 1228 | if( mMouseControl == mMouseCapturedControl ) |
| 1229 | mMouseCapturedControl->onMouseLeave( event ); |
| 1230 | else if( controlHit == mMouseCapturedControl ) |
| 1231 | mMouseCapturedControl->onMouseEnter( event ); |
| 1232 | |
| 1233 | mMouseControl = controlHit; |
| 1234 | } |
| 1235 | } |
| 1236 | |
| 1237 | void GuiCanvas::rootMouseUp(const GuiEvent &event) |
| 1238 | { |
nothing calls this directly
no test coverage detected