glutDialsFunc - Man Page

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)

Referenced By

glutButtonBoxFunc(3).