1UNTITLED LOCAL UNTITLED
2
4 glutButtonBoxFunc — Sets a button-box button callback.
5
7 OpenGLUT - input
8
10 #include <openglut.h>
11
12 void
13 glutButtonBoxFunc(void( *callback )( int button, int state ));
14
16 callback Client buttonbox button hook.
17
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
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
32 glutDialsFunc(3)
33
34
35
36
37 Epoch