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

Method notifyPointMove

UnitTests/UnitTest_Spline/DemoKeeper.cpp:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 void DemoKeeper::notifyPointMove(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id)
100 {
101 _sender->setPosition(
102 MyGUI::IntPoint(_left, _top) - _sender->getCroppedParent()->getAbsolutePosition() - mOffset);
103 updateSpline();
104 }
105
106 void DemoKeeper::notifyPointPressed(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id)
107 {

Callers

nothing calls this directly

Calls 2

IntPointFunction · 0.50
setPositionMethod · 0.45

Tested by

no test coverage detected