TwMouseMotion (function)DescriptionCall this function to inform AntTweakBar that the mouse has moved.
AntTweakBar interprets this event and acts consequently. So If you are using SDL, GLUT, GLFW or Windows (DirectX), the library provides some helper functions to handle events. See the section how to integrate for more details. ParametersmouseXThe new X position of the mouse, relative to the left border of the graphics window. mouseYThe new Y position of the mouse, relative to the top border of the graphics window. Return value
See also |