glutdialsfunc(3) - Linux man page

Name

glutDialsFunc - Sets a dials-box button callback.

Library

OpenGLUT - input

Synopsis

#include <openglut.h>

void

glutDialsFunc(void( *callback )( int dial, int value ));

Parameters

callback Client dials-box dial hook.

Description

A dials-and-buttons box has dials numbered from 1 to glutDeviceGet( GLUT_NUM_BUTTON_BOX_DIALS), inclusive. The parameters to callback are the dial and its value the latter being an absolute rotation in degrees.

The callback is bound to the current window .

Caveats

OpenGLUT does not implement dials-box support.

See Also

glutbuttonboxfunc(3)

BSD Epoch BSD