1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutWindowStatusFunc — Sets the window status callback.
5

LIBRARY

7     OpenGLUT - windowcallback
8

SYNOPSIS

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

PARAMETERS

16      callback     Client window status hook.
17

DESCRIPTION

19     When the visibility status of your window changes, OpenGLUT either
20     invokes the  callback  registered by this function or the Visibility
21     callback---or  neither, if you have not registered either callback.
22
23     This differs from glutVisbilityFunc() in that the callback has three
24     states, rather than two, that it may receive.  These states are:
25
26      -  GLUT_VISIBLE        (every pixel visible)
27      -  GLUT_FULLY_COVERED  (every pixel obscured)
28      -  GLUT_HIDDEN         (intermediate)
29
30     The callback is bound to the  current window  .
31

CAVEATS

33     Makes glutVisibilityFunc() obsolete.
34

SEE ALSO

36     glutVisibilityFunc(3)
37
38
39
40
41                                     Epoch
Impressum