diff --git a/freeglut/web-src/docs/api.php b/freeglut/web-src/docs/api.php index b9ac069..47c6676 100644 --- a/freeglut/web-src/docs/api.php +++ b/freeglut/web-src/docs/api.php @@ -346,8 +346,7 @@ but did not make it into the documentation. The new callbacks consist of regular and special key release callbacks, a joystick callback, a menu state callback (with one argument, distinct from the menu status callback which has three arguments), and a window status callback - (also with one argument). Unsupported callbacks are the three Spaceball -callbacks, the ButtonBox callback, the Dials callback, and the two Tablet + (also with one argument). Unsupported callbacks are the two Tablet callbacks. If the user has a need for an unsupported callback he should contact the freeglut development team.
@@ -1030,10 +1029,10 @@ have them fixed.-The glutSpaceballMotionFunc function is not implemented in -freeglut, although the library does -"answer the mail" to the extent that a call to the function will not produce -an error.. +The glutSpaceballMotionFunc function is implemented in +freeglut on X11 only. On other platforms, function stubs are +provided so that GLUT-based programs can compile and link against +freeglut without modification.
Usage
@@ -1043,21 +1042,15 @@ an error..Description
--The glutSpaceballMotionFunc function is not implemented in freeglut. -
- -Changes From GLUT
- -GLUT implements this function.
+TODO
-The glutSpaceballRotateFunc function is not implemented in -freeglut, although the library does -"answer the mail" to the extent that a call to the function will not produce -an error.. +The glutSpaceballRotateFunc function is implemented in +freeglut on X11 only. On other platforms, function stubs are +provided so that GLUT-based programs can compile and link against +freeglut without modification.
Usage
@@ -1067,21 +1060,15 @@ an error..Description
--The glutSpaceballRotateFunc function is not implemented in freeglut. -
- -Changes From GLUT
- -GLUT implements this function.
+TODO
-The glutSpaceballButtonFunc function is not implemented in -freeglut, although the library does -"answer the mail" to the extent that a call to the function will not produce -an error.. +The glutSpaceballButtonFunc function is implemented in +freeglut on X11 only. On other platforms, function stubs are +provided so that GLUT-based programs can compile and link against +freeglut without modification.
Usage
@@ -1091,42 +1078,37 @@ an error..Description
-The glutSpaceballButtonFunc function is not implemented in freeglut.
- -Changes From GLUT
- -GLUT implements this function.
+TODO
-The glutSpaceballButtonBoxFunc function is not implemented -in freeglut, although the library does "answer the mail" to the extent -that a call to the function will not produce an error.. +The glutDialsFunc function sets the global dials&buttons box callback. Freeglut calls the callback when there is input from the box buttons.
Usage
-void glutSpaceballButtonBoxFunc ( void (* callback)( int button, int updown ) ); +void glutButtonBoxFunc ( void (* callback)( int button, int updown ) );
Description
-The glutSpaceballButtonBoxFunc function is not implemented in freeglut.
+The Dials&Buttons box is an ancient device presenting several pushable
+or rotatable buttons, sending the events to the computer via serial
+I/O.
+
+See http://www.reputable.com/sgipix/sgi-dialnbutton1.jpg
+[1]
+for instance.
Changes From GLUT
- -GLUT implements this function.
--The glutDialsFunc function is not implemented in freeglut, -although the library does "answer the mail" to the extent that a call -to the function will not produce an error.. +The glutDialsFunc function sets the global dials&buttons box callback. Freeglut calls the callback when there is input from the box dials.
Usage
@@ -1136,12 +1118,16 @@ int dial, int value ) );Description
-The glutDialsFunc function -is not implemented in freeglut.
+
+The Dials&Buttons box is an ancient device presenting several pushable
+or rotatable buttons, sending the events to the computer via serial
+I/O.
-
Changes From GLUT
- -GLUT implements this function.
+See http://www.reputable.com/sgipix/sgi-dialnbutton1.jpg +[1] +for instance. +