Query: glutdialsfunc
OS: redhat
Section: 3glut
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
glutDialsFunc(3GLUT) GLUT glutDialsFunc(3GLUT)NAMEglutDialsFunc - sets the dial & button box dials callback for the current window.SYNTAXvoid glutDialsFunc(void (*func)(int dial, int value));ARGUMENTSfunc The new dials callback function.DESCRIPTIONglutDialsFunc sets the dial & button box dials callback for the current window. The dial & button box dials callback for a window is called when the window has dial & button box input focus (normally, when the mouse is in the window) and the user generates dial & button box dial changes. The dial parameter will be the dial number (starting at one). The number of available dial & button box dials can be determined with glutDeviceGet(GLUT_NUM_DIALS). The value measures the absolute rotation in degrees. Dial values do not ``roll over'' with each com- plete rotation but continue to accumulate degrees (until the int dial value overflows). Registering a dial & button box dials callback when a dial & button box device is not available is ineffectual and not an error. In this case, no dial & button box dials callbacks will be generated. Passing NULL to glutDialsFunc disables the generation of dial & button box dials callbacks. When a new window is created, no dial & button box dials callback is initially registered.SEE ALSOglutButtonBoxFunc, glutDeviceGetAUTHORMark J. Kilgard (mjk@nvidia.com)GLUT3.7 glutDialsFunc(3GLUT)
Related Man Pages |
---|
glutdeviceget(3glut) - redhat |
glutdialsfunc(3glut) - redhat |
glutspaceballbuttonfunc(3glut) - redhat |
glutbuttonboxfunc(3glut) - suse |
glutdialsfunc(3glut) - suse |
Similar Topics in the Unix Linux Community |
---|
opening ports |
How do I dial a number from the terminal window? |
CentOS, Fedora & RedHat in 1 box |
High CPU+Memory comsumption |
Could any one tell me how to assign IP to a linux box. |