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

Method notifyFrameStart

MyGUIEngine/src/MyGUI_PointerManager.cpp:109–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108
109 void PointerManager::notifyFrameStart(float _time)
110 {
111 mPoint = InputManager::getInstance().getMousePosition();
112 if (mOldPoint != mPoint)
113 {
114 mOldPoint = mPoint;
115
116 if (nullptr != mMousePointer && mPointer != nullptr)
117 mPointer->setPosition(mMousePointer, mPoint);
118 }
119 }
120
121 void PointerManager::setVisible(bool _visible)
122 {

Callers

nothing calls this directly

Calls 2

getMousePositionMethod · 0.45
setPositionMethod · 0.45

Tested by

no test coverage detected