Rechercher une page de manuel
glutVisibilityFunc
Langue: en
Version: 154884 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutVisibilityFunc - Sets the Visibility callback for the current window.LIBRARY
OpenGLUT - deprecatedSYNOPSIS
In openglut.h Ft void Fn glutVisibilityFunc void( *callback )( int status )PARAMETERS
Bf Em
callback Ef
Client hook for visibility changes.
DESCRIPTION
OpenGLUT may call this function when your window's visbility status has changed. Bf Systatus Ef
can take on two values: Bf Sy
GLUT_NOT_VISIBLE Ef
or Bf Sy
GLUT_VISIBLE Ef
. If any pixel of your window (including descendants) is visible, your window is Bf Sy
GLUT_VISIBLE Ef
.
The callback is bound to the Bf Li
current window Ef
.
CAVEATS
This is not a polling mechanism. You are only informed of transitions that OpenGLUT observes while your callback is in place.This function appears to be superceded by glutWindowStatusFunc().
This callback is mutually exclusive of glutWindowStatusFunc().
SEE ALSO
glutWindowStatusFunc(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre