MCPcopy Create free account
hub / github.com/MyGUI/mygui / showToolTip

Method showToolTip

MyGUIEngine/src/MyGUI_ToolTipManager.cpp:152–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150 }
151
152 void ToolTipManager::showToolTip(Widget* _widget, size_t _index, const IntPoint& _point)
153 {
154 Widget* container = _widget->_getContainer();
155 if (container != nullptr)
156 container->eventToolTip(container, ToolTipInfo(ToolTipInfo::Show, _index, _point));
157 else
158 _widget->eventToolTip(_widget, ToolTipInfo(ToolTipInfo::Show, ITEM_NONE, _point));
159 }
160
161 void ToolTipManager::moveToolTip(Widget* _widget, size_t _index, const IntPoint& _point)
162 {

Callers

nothing calls this directly

Calls 2

_getContainerMethod · 0.80
ToolTipInfoClass · 0.50

Tested by

no test coverage detected