Doxygen Source Code Documentation
glut_dials.c
Go to the documentation of this file.00001 00002 /* Copyright (c) Mark J. Kilgard, 1994. */ 00003 00004 /* This program is freely distributable without licensing fees 00005 and is provided without guarantee or warrantee expressed or 00006 implied. This program is -not- in the public domain. */ 00007 00008 #include "glutint.h" 00009 00010 void 00011 glutButtonBoxFunc(GLUTbuttonBoxCB buttonBoxFunc) 00012 { 00013 __glutCurrentWindow->buttonBox = buttonBoxFunc; 00014 __glutUpdateInputDeviceMaskFunc = __glutUpdateInputDeviceMask; 00015 __glutPutOnWorkList(__glutCurrentWindow, 00016 GLUT_DEVICE_MASK_WORK); 00017 } 00018 00019 void 00020 glutDialsFunc(GLUTdialsCB dialsFunc) 00021 { 00022 __glutCurrentWindow->dials = dialsFunc; 00023 __glutUpdateInputDeviceMaskFunc = __glutUpdateInputDeviceMask; 00024 __glutPutOnWorkList(__glutCurrentWindow, 00025 GLUT_DEVICE_MASK_WORK); 00026 }