1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutVisibilityFunc — Sets the Visibility callback for the current window.
5

LIBRARY

7     OpenGLUT - deprecated
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutVisibilityFunc(void( *callback )( int status ));
14

PARAMETERS

16      callback     Client hook for visibility changes.
17

DESCRIPTION

19     OpenGLUT may call this function when your window's visbility status has
20     changed.   status  can take on two values:  GLUT_NOT_VISIBLE  or
21     GLUT_VISIBLE  .  If any pixel of your window (including descendants) is
22     visible, your window is  GLUT_VISIBLE  .
23
24     The callback is bound to the  current window  .
25

CAVEATS

27     This is not a polling mechanism.  You are only informed of transitions
28     that OpenGLUT observes while your callback is in place.
29
30     This function appears to be superceded by glutWindowStatusFunc().
31
32     This callback is mutually exclusive of glutWindowStatusFunc().
33

SEE ALSO

35     glutWindowStatusFunc(3)
36
37
38
39
40                                     Epoch
Impressum