X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=inline;f=doc%2Ffreeglut_user_interface.html;h=20d1e42e596c50df39712a4decce82b0c5a8612b;hb=8a68c786f456d44e8bf46e0d78c2b7fada1c4d5e;hp=77645ac050bcc1a01903c3ab4fb8c7c9dccecfc3;hpb=ec7cb181d277a1ebde9f2d3ec399cbcf18315dd0;p=freeglut
diff --git a/doc/freeglut_user_interface.html b/doc/freeglut_user_interface.html
index 77645ac..20d1e42 100644
--- a/doc/freeglut_user_interface.html
+++ b/doc/freeglut_user_interface.html
@@ -19,7 +19,7 @@
OpenGL Utility Toolkit
- (freeglut)
+ (freeglut 2.0.0)
Application Programming Interface
@@ -31,11 +31,11 @@
- The freeglut Programming Consortium
+ The freeglut Programming Consortium
- November, 2002
+ July, 2003
@@ -323,7 +323,7 @@ There was no way for an application to loop in GLUT for a while, possibly
as a subloop while a specific window was open, and then return to the calling
function. A new function, "glutMainLoopEvent", has been added
to allow this functionality. Another function, "glutLeaveMainLoop
-", has also been added to allow the application to tell freeglut to clean
+", has also been added to allow the application to tell freeglut to clean
up and close down.
3.4.2 Action on Window Closure
Another difficulty with GLUT, especially with multiple-window programs,
@@ -339,11 +339,10 @@ GLUT should simply exit (the default).
to Silicon Graphics hardware have not been implemented. Most or all
of the new callbacks are listed in the GLUT Version 4 "glut.h" header file
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
+of regular and special key release callbacks, a joystick callback, a window
+status callback, window closure callbacks, a menu closure callback, and a
+mouse wheel callback. Unsupported callbacks are the three Spaceball
+callbacks, the ButtonBox callback, and the two Tablet
callbacks. If the user has a need for an unsupported callback he should
contact the freeglut development team.
@@ -356,8 +355,8 @@ pixels for bitmapped fonts and in OpenGL units for the stroke fonts.
3.4.5 Geometry Rendering
- Two functions have been added to render a wireframe and a solid rhombic
-dodecahedron.
+ Functions have been added to render a wireframe and a solid rhombic
+dodecahedron, a cylinder, and a Sierpinski sponge.
3.4.5 Extension Function Queries
glutGetProcAddress is a wrapper for the glXGetProcAddressARB and wglGetProcAddress
functions.
@@ -1120,7 +1119,7 @@ These queries do not depend on the current window.
GLUT_INIT_STATE - ?
GLUT_VERSION - Return value will be X*10000+Y*100+Z where X is the
major version, Y is the minor version and Z is the patch level.
- This query is only supported in freeglut (version 1.3 or later).
+ This query is only supported in freeglut (version 2.0.0 or later).
@@ -1148,7 +1147,7 @@ functions directly, that application will only link/run with an OpenGL library
that supports the extension. By using a function pointer returned from glutGetProcAddress(),
the application will avoid this hard dependency and be more portable and interoperate
better with various implementations of OpenGL.
- Both OpenGL functions and freeglut
+
Both OpenGL functions and freeglut
functions can be queried with this function.
Changes From GLUT
@@ -1890,22 +1889,22 @@ Programs which use the freeglut-specific extensions to GLUT should includ
-Compile-time freeglut version testing can be done as follows:
+Compile-time freeglut version testing can be done as follows:
-#ifdef FREEGLUT_VERSION_1_4
- code specific to freeglut 1.4 or later here
+#ifdef FREEGLUT_VERSION_2_0
+ code specific to freeglut 2.0 or later here
#endif
-In future releases, FREEGLUT_VERSION_1_5, FREEGLUT_VERSION_1_6, etc will
+In future releases, FREEGLUT_VERSION_2_1, FREEGLUT_VERSION_2_2, etc will
be defined. This scheme mimics OpenGL conventions.
-The freeglut version can be queried at runtime by calling
+The freeglut version can be queried at runtime by calling
glutGet(GLUT_VERSION).
The result will be X*10000+Y*100+Z where X is the major version, Y is the
minor version and Z is the patch level.
@@ -1915,8 +1914,8 @@ This may be used as follows:
-if (glutGet(GLUT_VERSION) < 10300) {
- printf("Sorry, you need freeglut version 1.3.0 or later to run this program.\n");
+if (glutGet(GLUT_VERSION) < 20001) {
+ printf("Sorry, you need freeglut version 2.0.1 or later to run this program.\n");
exit(1);
}