Rechercher une page de manuel
glutButtonBoxFunc
Langue: en
Version: 153185 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutButtonBoxFunc - Sets a button-box button callback.LIBRARY
OpenGLUT - inputSYNOPSIS
In openglut.h Ft void Fn glutButtonBoxFunc void( *callback )( int button int state )PARAMETERS
Bf Em
callback Ef
Client buttonbox button hook.
DESCRIPTION
A dials-and-buttons box has buttons numbered from 1 to glutDeviceGet( Bf SyGLUT_NUM_BUTTON_BOX_BUTTONS), Ef
inclusive. The parameters callback are the Bf Sy
button Ef
and its Bf Sy
state Ef
as either Bf Sy
GLUT_UP Ef
or Bf Sy
GLUT_DOWN Ef
.
The callback is bound to the Bf Li
current window Ef
.
CAVEATS
OpenGLUT does not implement button-box support.Also in contrast, mouse buttons are numbered from 0 in the GLUT API. This is a wrinkle.
SEE ALSO
glutDialsFunc(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre