From f09e17c3c564e8310125a10c03397cbf473ff643 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 1 Jul 2020 18:03:10 +0200 Subject: Remove $Id$ tags, update URL's, and more - remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers. --- documentation/src/glut.dox | 72 +++++++++++++++++++++++----------------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'documentation/src/glut.dox') diff --git a/documentation/src/glut.dox b/documentation/src/glut.dox index 985d3074f..0effbe5a4 100644 --- a/documentation/src/glut.dox +++ b/documentation/src/glut.dox @@ -1,6 +1,6 @@ /** - \page glut GLUT Compatibility + \page glut GLUT Compatibility This appendix describes the GLUT compatibility header file supplied with FLTK. FLTK's GLUT compatibility is based on the original GLUT 3.7 and @@ -42,7 +42,7 @@ to compile: \li \p glutLayerGet(GLUT_LAYER_IN_USE) \li \p glutPushWindow() \li \p glutSetColor(), \p glutGetColor(), \p glutCopyColormap() -\li \p glutVideoResize() missing. +\li \p glutVideoResize() missing. \li \p glutWarpPointer() \li \p glutWindowStatusFunc() \li Spaceball, buttonbox, dials, and tablet functions @@ -94,17 +94,17 @@ Fl_Window parent window must already be shown. \li Don't call \p glutInit(). \li Create your Fl_Window, and any FLTK widgets. Leave a - blank area in the window for your GLUT window. + blank area in the window for your GLUT window. \li \p show() the Fl_Window. Perhaps call \p show(argc,argv). \li Call window->begin() so that the GLUT window will be - automatically added to it. + automatically added to it. \li Use \p glutInitWindowSize() and \p glutInitWindowPosition() - to set the location in the parent window to put the GLUT window. + to set the location in the parent window to put the GLUT window. \li Put your GLUT code next. It probably does not need many changes. Call window->end() immediately after the \p glutCreateWindow()! \li You can call either \p glutMainLoop(), Fl::run(), - or loop calling Fl::wait() to run the program. + or loop calling Fl::wait() to run the program. \section glut_Fl_Glut_Window class Fl_Glut_Window @@ -139,7 +139,7 @@ or make the window current. window->make_current() is the same as \p glutSetWindow(number). If the window has not had \p show() called on it yet, some functions -that assume an OpenGL context will not work. +that assume an OpenGL context will not work. If you do \p show() the window, call \p make_current() again to set the context. @@ -152,57 +152,57 @@ be altered directly:
- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +
memberdescriptionmemberdescription
displayA pointer to the function to call to draw the normal planes.displayA pointer to the function to call to draw the normal planes.
entryA pointer to the function to call when the mouse moves into - or out of the window.entryA pointer to the function to call when the mouse moves into + or out of the window.
keyboardA pointer to the function to call when a regular key is pressed.keyboardA pointer to the function to call when a regular key is pressed.
menu[3]The menu to post when one of the mouse buttons is pressed.menu[3]The menu to post when one of the mouse buttons is pressed.
mouseA pointer to the function to call when a button is pressed or - released.mouseA pointer to the function to call when a button is pressed or + released.
motionA pointer to the function to call when the mouse is moved with - a button down.motionA pointer to the function to call when the mouse is moved with + a button down.
overlaydisplayA pointer to the function to call to draw the overlay planes.overlaydisplayA pointer to the function to call to draw the overlay planes.
passivemotionA pointer to the function to call when the mouse is moved with - no buttons down.passivemotionA pointer to the function to call when the mouse is moved with + no buttons down.
reshapeA pointer to the function to call when the window is resized.reshapeA pointer to the function to call when the window is resized.
specialA pointer to the function to call when a special key is pressed.specialA pointer to the function to call when a special key is pressed.
visibilityA pointer to the function to call when the window is iconified - or restored (made visible.)visibilityA pointer to the function to call when the window is iconified + or restored (made visible.)
-- cgit v1.2.3