7 * The non-GLUT-compatible extensions to the freeglut library include file
9 * Copyright (c) 1999-2000 Pawel W. Olszta. All Rights Reserved.
10 * Written by Pawel W. Olszta, <olszta@sourceforge.net>
11 * Creation date: Thu Dec 2 1999
13 * Permission is hereby granted, free of charge, to any person obtaining a
14 * copy of this software and associated documentation files (the "Software"),
15 * to deal in the Software without restriction, including without limitation
16 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
17 * and/or sell copies of the Software, and to permit persons to whom the
18 * Software is furnished to do so, subject to the following conditions:
20 * The above copyright notice and this permission notice shall be included
21 * in all copies or substantial portions of the Software.
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26 * PAWEL W. OLSZTA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
27 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
28 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
36 * GLUT API Extension macro definitions -- behaviour when the user clicks on an "x" to close a window
38 #define GLUT_ACTION_EXIT 0
39 #define GLUT_ACTION_GLUTMAINLOOP_RETURNS 1
40 #define GLUT_ACTION_CONTINUE_EXECUTION 2
43 * GLUT API macro definitions -- the glutGet parameters
45 #define GLUT_ACTION_ON_WINDOW_CLOSE 0x01F9
48 * Process loop function, see freeglut_main.c
50 FGAPI void FGAPIENTRY glutMainLoopEvent( void );
51 FGAPI void FGAPIENTRY glutLeaveMainLoop( void );
54 * Window-specific callback functions, see freeglut_callbacks.c
56 FGAPI void FGAPIENTRY glutCloseFunc( void (* callback)( void ) );
57 FGAPI void FGAPIENTRY glutWMCloseFunc( void (* callback)( void ) );
60 * State setting and retrieval functions, see freeglut_state.c
62 FGAPI void FGAPIENTRY glutSetOption ( GLenum option_flag, int value ) ;
65 * Font stuff, see freeglut_font.c
67 FGAPI int FGAPIENTRY glutBitmapHeight( void* font );
68 FGAPI GLfloat FGAPIENTRY glutStrokeHeight( void* font );
69 FGAPI void FGAPIENTRY glutBitmapString( void* font, const char *string );
70 FGAPI void FGAPIENTRY glutStrokeString( void* font, const char *string );
73 * Geometry functions, see freeglut_geometry.c
75 FGAPI void FGAPIENTRY glutWireRhombicDodecahedron( void );
76 FGAPI void FGAPIENTRY glutSolidRhombicDodecahedron( void );
77 FGAPI void FGAPIENTRY glutWireSierpinskiSponge ( int num_levels, GLfloat offset[3], GLfloat scale ) ;
78 FGAPI void FGAPIENTRY glutSolidSierpinskiSponge ( int num_levels, GLfloat offset[3], GLfloat scale ) ;
86 #endif /* FREEGLUT_EXT_H */