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

Method injectMousePress

UnitTests/UnitTest_RotatingSkin/DemoKeeper.cpp:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 void DemoKeeper::injectMousePress(int _absx, int _absy, MyGUI::MouseButton _id)
47 {
48 if (_id == MyGUI::MouseButton::Right)
49 rotato->setCenter(MyGUI::IntPoint(_absx, _absy) - image->getAbsolutePosition());
50
51 base::BaseManager::injectMousePress(_absx, _absy, _id);
52 }
53
54 void DemoKeeper::injectMouseMove(int _absx, int _absy, int _absz)
55 {

Callers

nothing calls this directly

Calls 2

setCenterMethod · 0.80
IntPointFunction · 0.50

Tested by

no test coverage detected