Rechercher une page de manuel
glutMotionFunc
Langue: en
Version: 163984 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutMotionFunc - Reports mouse-motion while a button is held.LIBRARY
OpenGLUT - inputSYNOPSIS
In openglut.h Ft void Fn glutMotionFunc void( *callback )( int x int y )PARAMETERS
Bf Em
callback Ef
Client hook for dragging mouse.
DESCRIPTION
This function reports the mouse position when the mouse is dragged starting from within your window. (``Dragging'' occurs when you press one or more mouse buttons in one of your OpenGLUT windows, and then move the mouse around.)This callback is bound to the Bf Li
current window Ef
.
CAVEATS
Events are reported until the mouse button is released, even if the mouse leaves the window.Windows created via glutCreateMenuWindow() always cascade keyboard and mouse events to their parent.
SEE ALSO
glutMouseFunc(3) glutPassiveMotion(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre