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

Method notifyMouseButtonReleased

UnitTests/UnitTest_GraphView/DemoKeeper.cpp:265–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 }
264
265 void DemoKeeper::notifyMouseButtonReleased(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id)
266 {
267 if (_id == MyGUI::MouseButton::Right)
268 {
269 mClickPosition.left = _left;
270 mClickPosition.top = _top;
271 mContextMenu->setVisible(true);
272 }
273 }
274
275 void DemoKeeper::notifyFrameStarted(float _time)
276 {

Callers

nothing calls this directly

Calls 1

setVisibleMethod · 0.45

Tested by

no test coverage detected