| Line | |
|---|
| 1 | /* $Id: glut_dials.c,v 1.3 2000-03-11 15:07:44 sandervl Exp $ */
|
|---|
| 2 | /* Copyright (c) Mark J. Kilgard, 1994. */
|
|---|
| 3 |
|
|---|
| 4 | /* This program is freely distributable without licensing fees
|
|---|
| 5 | and is provided without guarantee or warrantee expressed or
|
|---|
| 6 | implied. This program is -not- in the public domain. */
|
|---|
| 7 |
|
|---|
| 8 | #include "glutint.h"
|
|---|
| 9 |
|
|---|
| 10 | void GLAPIENTRY
|
|---|
| 11 | glutButtonBoxFunc(GLUTbuttonBoxCB buttonBoxFunc)
|
|---|
| 12 | {
|
|---|
| 13 | __glutCurrentWindow->buttonBox = buttonBoxFunc;
|
|---|
| 14 | __glutUpdateInputDeviceMaskFunc = __glutUpdateInputDeviceMask;
|
|---|
| 15 | __glutPutOnWorkList(__glutCurrentWindow,
|
|---|
| 16 | GLUT_DEVICE_MASK_WORK);
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | void GLAPIENTRY
|
|---|
| 20 | glutDialsFunc(GLUTdialsCB dialsFunc)
|
|---|
| 21 | {
|
|---|
| 22 | __glutCurrentWindow->dials = dialsFunc;
|
|---|
| 23 | __glutUpdateInputDeviceMaskFunc = __glutUpdateInputDeviceMask;
|
|---|
| 24 | __glutPutOnWorkList(__glutCurrentWindow,
|
|---|
| 25 | GLUT_DEVICE_MASK_WORK);
|
|---|
| 26 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.