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

Method notifyToolTip

Demos/Demo_ItemBox/DemoKeeper.cpp:163–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 void DemoKeeper::notifyToolTip(wraps::BaseLayout* _sender, const MyGUI::ToolTipInfo& _info, ItemData* _data)
164 {
165 if (_info.type == MyGUI::ToolTipInfo::Show)
166 {
167 mToolTip->show(_data);
168 mToolTip->move(_info.point);
169 }
170 else if (_info.type == MyGUI::ToolTipInfo::Hide)
171 {
172 mToolTip->hide();
173 }
174 else if (_info.type == MyGUI::ToolTipInfo::Move)
175 {
176 mToolTip->move(_info.point);
177 }
178 }
179
180} // namespace demo
181

Callers

nothing calls this directly

Calls 3

showMethod · 0.45
moveMethod · 0.45
hideMethod · 0.45

Tested by

no test coverage detected