GLUTDIALSFUNC(3)
π GLUTDIALSFUNC(3) β glutDialsFunc
okay bestie, so this one is a whole page about glutDialsFunc, a lil function from OpenGLUT in the input family. it sets a dials-box button callback. yes, that's the whole name. slay. π
β¨ NAME β¨
glutDialsFunc β sets a dials-box button callback. literally that's it, that's the job. π
π LIBRARY π
OpenGLUT β the input corner of the house π«Ά
πΈ SYNOPSIS πΈ
#include <openglut.h>
void
glutDialsFunc(void( *callback )( int dial, int value ));
like, you hand it a function pointer and it does the thing. periodt. β¨
π§ PARAMETERS π§
callbackβ the client dials-box dial hook. that's your function, your little guy, the one that's gonna get called when the dials start dialing. π¦
π DESCRIPTION π
so here's the tea, bestie. a dials-and-buttons box has dials, and those dials are numbered from 1 to glutDeviceGet( GLUT_NUM_BUTTON_BOX_DIALS ), inclusive. inclusive, okay, don't forget that part, that's important. π₯
the parameters that get passed to your callback are:
- the
dial, and - its
value
and that value? it's an absolute rotation, in degrees. not radians, not vibes, degrees. π
the callback is bound to the current window. that's the whole vibe. it knows where it lives. π
π CAVEATS π
OpenGLUT does not implement dials-box support.
soβ¦ yeah. π read that again. OpenGLUT does not implement dials-box support. this function is giving "we have the API but not the thing behind the API." iconic in a tragic way, honestly. no cap. π
π SEE ALSO π
and that's the page, bestie!! π this was UNDATED and honestly UNTITLED() too, which is very much the "no thoughts, head empty" energy of a manpage footer. but you understood it, and that's what matters. mwah. πβ¨π¦
π¦ where this page comes from
- centos-stream 10: freeglut-devel 3.4.0-9.el10 Β· MIT
- centos-stream 9: freeglut-devel 3.2.1-10.el9 Β· MIT
- centos-stream 9: freeglut-devel 3.2.1-10.el9 Β· MIT
- fedora 43: freeglut-devel 3.6.0-6.fc43 Β· MIT
- fedora 43: freeglut-devel 3.6.0-6.fc43 Β· MIT
- fedora 43: freeglut-devel 3.8.0-1.fc43 Β· MIT
- fedora 43: freeglut-devel 3.8.0-1.fc43 Β· MIT
- fedora 44: freeglut-devel 3.8.0-2.fc44 Β· MIT
- fedora 44: freeglut-devel 3.8.0-2.fc44 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- Copyright 2004, the OpenGLUT contributors
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms