Rechercher une page de manuel
glutPassiveMotionFunc
Langue: en
Version: 156426 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutPassiveMotionFunc - Sets the non-dragging (gliding?) mouse-motion callback.LIBRARY
OpenGLUT - inputSYNOPSIS
In openglut.h Ft void Fn glutPassiveMotionFunc void( *callback )( int x int y )PARAMETERS
Bf Em
callback Ef
Client mouse-glide hook.
DESCRIPTION
If you set this callback on a window, then every time that OpenGLUT detects a change in the mouse position inside that window, with no buttons pressed on that mouse, OpenGLUT will invoke Bf Sycallback Ef
with the window coordinates of the mouse.
This callback is bound to the Bf Li
current window Ef
.
CAVEATS
Windows created via glutCreateMenuWindow() always cascade keyboard and mouse events to their parent.SEE ALSO
glutMotionFunc(3) glutMouseFunc(3) glutEntryFunc(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre