1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutButtonBoxFunc — Sets a button-box button callback.
5

LIBRARY

7     OpenGLUT - input
8

SYNOPSIS

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

PARAMETERS

16      callback     Client buttonbox button hook.
17

DESCRIPTION

19     A dials-and-buttons box has buttons numbered from 1 to glutDeviceGet(
20     GLUT_NUM_BUTTON_BOX_BUTTONS),  inclusive.  The parameters callback are
21     the  button  and its  state  as either  GLUT_UP  or  GLUT_DOWN  .
22
23     The callback is bound to the  current window  .
24

CAVEATS

26     OpenGLUT does not implement button-box support.
27
28     Also in contrast, mouse buttons are numbered from 0 in the GLUT API.
29     This is a wrinkle.
30

SEE ALSO

32     glutDialsFunc(3)
33
34
35
36
37                                     Epoch
Impressum