Doxygen Source Code Documentation
glut_space.c File Reference
#include "glutint.h"Go to the source code of this file.
Functions | |
| void | glutSpaceballMotionFunc (GLUTspaceMotionCB spaceMotionFunc) |
| void | glutSpaceballRotateFunc (GLUTspaceRotateCB spaceRotateFunc) |
| void | glutSpaceballButtonFunc (GLUTspaceButtonCB spaceButtonFunc) |
Function Documentation
|
|
Definition at line 29 of file glut_space.c. References __glutPutOnWorkList(), GLUT_DEVICE_MASK_WORK, and GLUTspaceButtonCB.
00030 {
00031 __glutCurrentWindow->spaceButton = spaceButtonFunc;
00032 __glutUpdateInputDeviceMaskFunc = __glutUpdateInputDeviceMask;
00033 __glutPutOnWorkList(__glutCurrentWindow,
00034 GLUT_DEVICE_MASK_WORK);
00035 }
|
|
|
Definition at line 11 of file glut_space.c. References __glutPutOnWorkList(), GLUT_DEVICE_MASK_WORK, and GLUTspaceMotionCB.
00012 {
00013 __glutCurrentWindow->spaceMotion = spaceMotionFunc;
00014 __glutUpdateInputDeviceMaskFunc = __glutUpdateInputDeviceMask;
00015 __glutPutOnWorkList(__glutCurrentWindow,
00016 GLUT_DEVICE_MASK_WORK);
00017 }
|
|
|
Definition at line 20 of file glut_space.c. References __glutPutOnWorkList(), GLUT_DEVICE_MASK_WORK, and GLUTspaceRotateCB.
00021 {
00022 __glutCurrentWindow->spaceRotate = spaceRotateFunc;
00023 __glutUpdateInputDeviceMaskFunc = __glutUpdateInputDeviceMask;
00024 __glutPutOnWorkList(__glutCurrentWindow,
00025 GLUT_DEVICE_MASK_WORK);
00026 }
|