MCPcopy Create free account
hub / github.com/SpartanJ/eepp / onMouseLeave

Method onMouseLeave

src/eepp/ui/uiwidget.cpp:481–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481Uint32 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
492UIWidget* UIWidget::setTooltipText( const String& text ) {
493 mTooltipText = text;

Callers

nothing calls this directly

Calls 3

getMouseOverNodeMethod · 0.80
hideMethod · 0.45

Tested by

no test coverage detected