Rechercher une page de manuel
glutWindowStatusFunc
Langue: en
Version: 152969 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutWindowStatusFunc - Sets the window status callback.LIBRARY
OpenGLUT - windowcallbackSYNOPSIS
In openglut.h Ft void Fn glutWindowStatusFunc void( *callback )( int state )PARAMETERS
Bf Em
callback Ef
Client window status hook.
DESCRIPTION
When the visibility status of your window changes, OpenGLUT either invokes the Bf Sycallback Ef
registered by this function or the Visibility Bf Sy
callback---or Ef
neither, if you have not registered either callback.
This differs from glutVisbilityFunc() in that the callback has three states, rather than two, that it may receive. These states are:
- Bf Sy
GLUT_VISIBLE Ef
(every pixel visible)
- Bf Sy
GLUT_FULLY_COVERED Ef
(every pixel obscured)
- Bf Sy
GLUT_HIDDEN Ef
(intermediate)
The callback is bound to the Bf Li
current window Ef
.
CAVEATS
Makes glutVisibilityFunc() obsolete.SEE ALSO
glutVisibilityFunc(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre