UNTITLED LOCAL UNTITLED
NAMEglutButtonBoxFunc — Sets a button-box button callback.
LIBRARY
OpenGLUT - input
SYNOPSIS
#include <openglut.h>
void
glutButtonBoxFunc(void( *callback )( int button, int state ));
PARAMETERS
callback Client buttonbox button hook.
DESCRIPTION
A dials-and-buttons box has buttons numbered from 1 to glutDeviceGet(
GLUT_NUM_BUTTON_BOX_BUTTONS), inclusive. The parameters callback are
the button and its state as either GLUT_UP or GLUT_DOWN .
The callback is bound to the current window .
CAVEATS
OpenGLUT does not implement button-box support.
Also in contrast, mouse buttons are numbered from 0 in the GLUT API.
This is a wrinkle.
SEE ALSOglutDialsFunc(3)
Epoch