| 479 | } |
| 480 | |
| 481 | Uint32 UIWidget::onMouseLeave( const Vector2i& Pos, const Uint32& Flags ) { |
| 482 | EventDispatcher* eventDispatcher = getEventDispatcher(); |
| 483 | |
| 484 | if ( NULL != eventDispatcher && eventDispatcher->getMouseOverNode() != this && mVisible && |
| 485 | NULL != mTooltip && !mTooltip->dontAutoHideOnMouseMove() ) { |
| 486 | mTooltip->hide(); |
| 487 | } |
| 488 | |
| 489 | return UINode::onMouseLeave( Pos, Flags ); |
| 490 | } |
| 491 | |
| 492 | UIWidget* UIWidget::setTooltipText( const String& text ) { |
| 493 | mTooltipText = text; |
nothing calls this directly
no test coverage detected