glutDialsFunc (3) - Linux Manuals

glutDialsFunc: Sets a dials-box button callback.

NAME

glutDialsFunc - Sets a dials-box button callback.

LIBRARY

OpenGLUT - input

SYNOPSIS

In openglut.h Ft void Fn glutDialsFunc void( *callback )( int dial int value )

PARAMETERS

Bf Em
 callback Ef
    Client dials-box dial hook.

DESCRIPTION

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

The callback is bound to the Bf Li
 current window Ef
 .

CAVEATS

OpenGLUT does not implement dials-box support.

SEE ALSO

glutButtonBoxFunc(3)