Scroll to navigation

GLUTDIALSFUNC(3) Library Functions Manual (local) GLUTDIALSFUNC(3)

NAME

glutDialsFuncSets 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)