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

Method getTooltipPosition

src/eepp/ui/uiwidget.cpp:406–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406Vector2f UIWidget::getTooltipPosition() {
407 if ( NULL == getEventDispatcher() )
408 return Vector2f::Zero;
409 return mTooltip->getTooltipPosition( getEventDispatcher()->getMousePosf() );
410}
411
412void UIWidget::createStyle() {
413 if ( NULL == mStyle && NULL != mUISceneNode ) {

Callers 3

displayTooltipMethod · 0.45
onMouseMoveMethod · 0.45
displayTooltipMethod · 0.45

Calls 1

getMousePosfMethod · 0.80

Tested by

no test coverage detected