00001 #ifndef __FREEGLUT_STD_H__
00002 #define __FREEGLUT_STD_H__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034
00035
00036
00037
00038 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__)
00039
00040
00041
00042
00043
00044
00045
00046 # define WIN32_LEAN_AND_MEAN
00047 # define NO_MIN_MAX
00048 # include <windows.h>
00049 # undef min
00050 # undef max
00051
00052
00053 # ifdef FREEGLUT_STATIC
00054
00055 # define FGAPI
00056 # define FGAPIENTRY
00057
00058
00059 # if defined(_MSC_VER)
00060
00061
00062 # endif
00063
00064
00065 # else
00066
00067 # if defined(FREEGLUT_EXPORTS)
00068 # define FGAPI __declspec(dllexport)
00069 # else
00070 # define FGAPI __declspec(dllimport)
00071
00072
00073 # if defined(_MSC_VER)
00074
00075
00076
00077
00078 # endif
00079
00080 # endif
00081
00082 # define FGAPIENTRY __stdcall
00083
00084 # endif
00085
00086
00087 # if defined(_MSC_VER)
00088 # ifndef _WIN32_WCE
00089 # pragma comment (lib, "winmm.lib")
00090 # pragma comment (lib, "user32.lib")
00091 # pragma comment (lib, "gdi32.lib")
00092 # pragma comment (lib, "opengl32.lib")
00093 # pragma comment (lib, "glu32.lib")
00094 # endif
00095 # endif
00096
00097 #else
00098
00099
00100 # define FGAPI
00101 # define FGAPIENTRY
00102
00103 #endif
00104
00105
00106
00107
00108 #define FREEGLUT 1
00109 #define GLUT_API_VERSION 4
00110 #define FREEGLUT_VERSION_2_0 1
00111 #define GLUT_XLIB_IMPLEMENTATION 13
00112
00113
00114
00115
00116 #include <GL/gl.h>
00117 #include <GL/glu.h>
00118
00119
00120
00121
00122 #define GLUT_KEY_F1 0x0001
00123 #define GLUT_KEY_F2 0x0002
00124 #define GLUT_KEY_F3 0x0003
00125 #define GLUT_KEY_F4 0x0004
00126 #define GLUT_KEY_F5 0x0005
00127 #define GLUT_KEY_F6 0x0006
00128 #define GLUT_KEY_F7 0x0007
00129 #define GLUT_KEY_F8 0x0008
00130 #define GLUT_KEY_F9 0x0009
00131 #define GLUT_KEY_F10 0x000A
00132 #define GLUT_KEY_F11 0x000B
00133 #define GLUT_KEY_F12 0x000C
00134 #define GLUT_KEY_LEFT 0x0064
00135 #define GLUT_KEY_UP 0x0065
00136 #define GLUT_KEY_RIGHT 0x0066
00137 #define GLUT_KEY_DOWN 0x0067
00138 #define GLUT_KEY_PAGE_UP 0x0068
00139 #define GLUT_KEY_PAGE_DOWN 0x0069
00140 #define GLUT_KEY_HOME 0x006A
00141 #define GLUT_KEY_END 0x006B
00142 #define GLUT_KEY_INSERT 0x006C
00143
00144
00145
00146
00147 #define GLUT_LEFT_BUTTON 0x0000
00148 #define GLUT_MIDDLE_BUTTON 0x0001
00149 #define GLUT_RIGHT_BUTTON 0x0002
00150 #define GLUT_DOWN 0x0000
00151 #define GLUT_UP 0x0001
00152 #define GLUT_LEFT 0x0000
00153 #define GLUT_ENTERED 0x0001
00154
00155
00156
00157
00158 #define GLUT_RGB 0x0000
00159 #define GLUT_RGBA 0x0000
00160 #define GLUT_INDEX 0x0001
00161 #define GLUT_SINGLE 0x0000
00162 #define GLUT_DOUBLE 0x0002
00163 #define GLUT_ACCUM 0x0004
00164 #define GLUT_ALPHA 0x0008
00165 #define GLUT_DEPTH 0x0010
00166 #define GLUT_STENCIL 0x0020
00167 #define GLUT_MULTISAMPLE 0x0080
00168 #define GLUT_STEREO 0x0100
00169 #define GLUT_LUMINANCE 0x0200
00170
00171
00172
00173
00174 #define GLUT_MENU_NOT_IN_USE 0x0000
00175 #define GLUT_MENU_IN_USE 0x0001
00176 #define GLUT_NOT_VISIBLE 0x0000
00177 #define GLUT_VISIBLE 0x0001
00178 #define GLUT_HIDDEN 0x0000
00179 #define GLUT_FULLY_RETAINED 0x0001
00180 #define GLUT_PARTIALLY_RETAINED 0x0002
00181 #define GLUT_FULLY_COVERED 0x0003
00182
00183
00184
00185
00186
00187
00188 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__)
00189 # define GLUT_STROKE_ROMAN ((void *)0x0000)
00190 # define GLUT_STROKE_MONO_ROMAN ((void *)0x0001)
00191 # define GLUT_BITMAP_9_BY_15 ((void *)0x0002)
00192 # define GLUT_BITMAP_8_BY_13 ((void *)0x0003)
00193 # define GLUT_BITMAP_TIMES_ROMAN_10 ((void *)0x0004)
00194 # define GLUT_BITMAP_TIMES_ROMAN_24 ((void *)0x0005)
00195 # define GLUT_BITMAP_HELVETICA_10 ((void *)0x0006)
00196 # define GLUT_BITMAP_HELVETICA_12 ((void *)0x0007)
00197 # define GLUT_BITMAP_HELVETICA_18 ((void *)0x0008)
00198 #else
00199
00200
00201
00202 extern void* glutStrokeRoman;
00203 extern void* glutStrokeMonoRoman;
00204 extern void* glutBitmap9By15;
00205 extern void* glutBitmap8By13;
00206 extern void* glutBitmapTimesRoman10;
00207 extern void* glutBitmapTimesRoman24;
00208 extern void* glutBitmapHelvetica10;
00209 extern void* glutBitmapHelvetica12;
00210 extern void* glutBitmapHelvetica18;
00211
00212
00213
00214
00215 # define GLUT_STROKE_ROMAN ((void *) &glutStrokeRoman)
00216 # define GLUT_STROKE_MONO_ROMAN ((void *) &glutStrokeMonoRoman)
00217 # define GLUT_BITMAP_9_BY_15 ((void *) &glutBitmap9By15)
00218 # define GLUT_BITMAP_8_BY_13 ((void *) &glutBitmap8By13)
00219 # define GLUT_BITMAP_TIMES_ROMAN_10 ((void *) &glutBitmapTimesRoman10)
00220 # define GLUT_BITMAP_TIMES_ROMAN_24 ((void *) &glutBitmapTimesRoman24)
00221 # define GLUT_BITMAP_HELVETICA_10 ((void *) &glutBitmapHelvetica10)
00222 # define GLUT_BITMAP_HELVETICA_12 ((void *) &glutBitmapHelvetica12)
00223 # define GLUT_BITMAP_HELVETICA_18 ((void *) &glutBitmapHelvetica18)
00224 #endif
00225
00226
00227
00228
00229 #define GLUT_WINDOW_X 0x0064
00230 #define GLUT_WINDOW_Y 0x0065
00231 #define GLUT_WINDOW_WIDTH 0x0066
00232 #define GLUT_WINDOW_HEIGHT 0x0067
00233 #define GLUT_WINDOW_BUFFER_SIZE 0x0068
00234 #define GLUT_WINDOW_STENCIL_SIZE 0x0069
00235 #define GLUT_WINDOW_DEPTH_SIZE 0x006A
00236 #define GLUT_WINDOW_RED_SIZE 0x006B
00237 #define GLUT_WINDOW_GREEN_SIZE 0x006C
00238 #define GLUT_WINDOW_BLUE_SIZE 0x006D
00239 #define GLUT_WINDOW_ALPHA_SIZE 0x006E
00240 #define GLUT_WINDOW_ACCUM_RED_SIZE 0x006F
00241 #define GLUT_WINDOW_ACCUM_GREEN_SIZE 0x0070
00242 #define GLUT_WINDOW_ACCUM_BLUE_SIZE 0x0071
00243 #define GLUT_WINDOW_ACCUM_ALPHA_SIZE 0x0072
00244 #define GLUT_WINDOW_DOUBLEBUFFER 0x0073
00245 #define GLUT_WINDOW_RGBA 0x0074
00246 #define GLUT_WINDOW_PARENT 0x0075
00247 #define GLUT_WINDOW_NUM_CHILDREN 0x0076
00248 #define GLUT_WINDOW_COLORMAP_SIZE 0x0077
00249 #define GLUT_WINDOW_NUM_SAMPLES 0x0078
00250 #define GLUT_WINDOW_STEREO 0x0079
00251 #define GLUT_WINDOW_CURSOR 0x007A
00252
00253 #define GLUT_SCREEN_WIDTH 0x00C8
00254 #define GLUT_SCREEN_HEIGHT 0x00C9
00255 #define GLUT_SCREEN_WIDTH_MM 0x00CA
00256 #define GLUT_SCREEN_HEIGHT_MM 0x00CB
00257 #define GLUT_MENU_NUM_ITEMS 0x012C
00258 #define GLUT_DISPLAY_MODE_POSSIBLE 0x0190
00259 #define GLUT_INIT_WINDOW_X 0x01F4
00260 #define GLUT_INIT_WINDOW_Y 0x01F5
00261 #define GLUT_INIT_WINDOW_WIDTH 0x01F6
00262 #define GLUT_INIT_WINDOW_HEIGHT 0x01F7
00263 #define GLUT_INIT_DISPLAY_MODE 0x01F8
00264 #define GLUT_ELAPSED_TIME 0x02BC
00265 #define GLUT_WINDOW_FORMAT_ID 0x007B
00266 #define GLUT_INIT_STATE 0x007C
00267
00268
00269
00270
00271 #define GLUT_HAS_KEYBOARD 0x0258
00272 #define GLUT_HAS_MOUSE 0x0259
00273 #define GLUT_HAS_SPACEBALL 0x025A
00274 #define GLUT_HAS_DIAL_AND_BUTTON_BOX 0x025B
00275 #define GLUT_HAS_TABLET 0x025C
00276 #define GLUT_NUM_MOUSE_BUTTONS 0x025D
00277 #define GLUT_NUM_SPACEBALL_BUTTONS 0x025E
00278 #define GLUT_NUM_BUTTON_BOX_BUTTONS 0x025F
00279 #define GLUT_NUM_DIALS 0x0260
00280 #define GLUT_NUM_TABLET_BUTTONS 0x0261
00281 #define GLUT_DEVICE_IGNORE_KEY_REPEAT 0x0262
00282 #define GLUT_DEVICE_KEY_REPEAT 0x0263
00283 #define GLUT_HAS_JOYSTICK 0x0264
00284 #define GLUT_OWNS_JOYSTICK 0x0265
00285 #define GLUT_JOYSTICK_BUTTONS 0x0266
00286 #define GLUT_JOYSTICK_AXES 0x0267
00287 #define GLUT_JOYSTICK_POLL_RATE 0x0268
00288
00289
00290
00291
00292 #define GLUT_OVERLAY_POSSIBLE 0x0320
00293 #define GLUT_LAYER_IN_USE 0x0321
00294 #define GLUT_HAS_OVERLAY 0x0322
00295 #define GLUT_TRANSPARENT_INDEX 0x0323
00296 #define GLUT_NORMAL_DAMAGED 0x0324
00297 #define GLUT_OVERLAY_DAMAGED 0x0325
00298
00299
00300
00301
00302 #define GLUT_VIDEO_RESIZE_POSSIBLE 0x0384
00303 #define GLUT_VIDEO_RESIZE_IN_USE 0x0385
00304 #define GLUT_VIDEO_RESIZE_X_DELTA 0x0386
00305 #define GLUT_VIDEO_RESIZE_Y_DELTA 0x0387
00306 #define GLUT_VIDEO_RESIZE_WIDTH_DELTA 0x0388
00307 #define GLUT_VIDEO_RESIZE_HEIGHT_DELTA 0x0389
00308 #define GLUT_VIDEO_RESIZE_X 0x038A
00309 #define GLUT_VIDEO_RESIZE_Y 0x038B
00310 #define GLUT_VIDEO_RESIZE_WIDTH 0x038C
00311 #define GLUT_VIDEO_RESIZE_HEIGHT 0x038D
00312
00313
00314
00315
00316 #define GLUT_NORMAL 0x0000
00317 #define GLUT_OVERLAY 0x0001
00318
00319
00320
00321
00322 #define GLUT_ACTIVE_SHIFT 0x0001
00323 #define GLUT_ACTIVE_CTRL 0x0002
00324 #define GLUT_ACTIVE_ALT 0x0004
00325
00326
00327
00328
00329 #define GLUT_CURSOR_RIGHT_ARROW 0x0000
00330 #define GLUT_CURSOR_LEFT_ARROW 0x0001
00331 #define GLUT_CURSOR_INFO 0x0002
00332 #define GLUT_CURSOR_DESTROY 0x0003
00333 #define GLUT_CURSOR_HELP 0x0004
00334 #define GLUT_CURSOR_CYCLE 0x0005
00335 #define GLUT_CURSOR_SPRAY 0x0006
00336 #define GLUT_CURSOR_WAIT 0x0007
00337 #define GLUT_CURSOR_TEXT 0x0008
00338 #define GLUT_CURSOR_CROSSHAIR 0x0009
00339 #define GLUT_CURSOR_UP_DOWN 0x000A
00340 #define GLUT_CURSOR_LEFT_RIGHT 0x000B
00341 #define GLUT_CURSOR_TOP_SIDE 0x000C
00342 #define GLUT_CURSOR_BOTTOM_SIDE 0x000D
00343 #define GLUT_CURSOR_LEFT_SIDE 0x000E
00344 #define GLUT_CURSOR_RIGHT_SIDE 0x000F
00345 #define GLUT_CURSOR_TOP_LEFT_CORNER 0x0010
00346 #define GLUT_CURSOR_TOP_RIGHT_CORNER 0x0011
00347 #define GLUT_CURSOR_BOTTOM_RIGHT_CORNER 0x0012
00348 #define GLUT_CURSOR_BOTTOM_LEFT_CORNER 0x0013
00349 #define GLUT_CURSOR_INHERIT 0x0064
00350 #define GLUT_CURSOR_NONE 0x0065
00351 #define GLUT_CURSOR_FULL_CROSSHAIR 0x0066
00352
00353
00354
00355
00356 #define GLUT_RED 0x0000
00357 #define GLUT_GREEN 0x0001
00358 #define GLUT_BLUE 0x0002
00359
00360
00361
00362
00363 #define GLUT_KEY_REPEAT_OFF 0x0000
00364 #define GLUT_KEY_REPEAT_ON 0x0001
00365 #define GLUT_KEY_REPEAT_DEFAULT 0x0002
00366
00367 #define GLUT_JOYSTICK_BUTTON_A 0x0001
00368 #define GLUT_JOYSTICK_BUTTON_B 0x0002
00369 #define GLUT_JOYSTICK_BUTTON_C 0x0004
00370 #define GLUT_JOYSTICK_BUTTON_D 0x0008
00371
00372
00373
00374
00375 #define GLUT_GAME_MODE_ACTIVE 0x0000
00376 #define GLUT_GAME_MODE_POSSIBLE 0x0001
00377 #define GLUT_GAME_MODE_WIDTH 0x0002
00378 #define GLUT_GAME_MODE_HEIGHT 0x0003
00379 #define GLUT_GAME_MODE_PIXEL_DEPTH 0x0004
00380 #define GLUT_GAME_MODE_REFRESH_RATE 0x0005
00381 #define GLUT_GAME_MODE_DISPLAY_CHANGED 0x0006
00382
00383
00384
00385
00386 FGAPI void FGAPIENTRY glutInit( int* pargc, char** argv );
00387 FGAPI void FGAPIENTRY glutInitWindowPosition( int x, int y );
00388 FGAPI void FGAPIENTRY glutInitWindowSize( int width, int height );
00389 FGAPI void FGAPIENTRY glutInitDisplayMode( unsigned int displayMode );
00390 FGAPI void FGAPIENTRY glutInitDisplayString( const char* displayMode );
00391
00392
00393
00394
00395 FGAPI void FGAPIENTRY glutMainLoop( void );
00396
00397
00398
00399
00400 FGAPI int FGAPIENTRY glutCreateWindow( const char* title );
00401 FGAPI int FGAPIENTRY glutCreateSubWindow( int window, int x, int y, int width, int height );
00402 FGAPI void FGAPIENTRY glutDestroyWindow( int window );
00403 FGAPI void FGAPIENTRY glutSetWindow( int window );
00404 FGAPI int FGAPIENTRY glutGetWindow( void );
00405 FGAPI void FGAPIENTRY glutSetWindowTitle( const char* title );
00406 FGAPI void FGAPIENTRY glutSetIconTitle( const char* title );
00407 FGAPI void FGAPIENTRY glutReshapeWindow( int width, int height );
00408 FGAPI void FGAPIENTRY glutPositionWindow( int x, int y );
00409 FGAPI void FGAPIENTRY glutShowWindow( void );
00410 FGAPI void FGAPIENTRY glutHideWindow( void );
00411 FGAPI void FGAPIENTRY glutIconifyWindow( void );
00412 FGAPI void FGAPIENTRY glutPushWindow( void );
00413 FGAPI void FGAPIENTRY glutPopWindow( void );
00414 FGAPI void FGAPIENTRY glutFullScreen( void );
00415
00416
00417
00418
00419 FGAPI void FGAPIENTRY glutPostWindowRedisplay( int window );
00420 FGAPI void FGAPIENTRY glutPostRedisplay( void );
00421 FGAPI void FGAPIENTRY glutSwapBuffers( void );
00422
00423
00424
00425
00426 FGAPI void FGAPIENTRY glutWarpPointer( int x, int y );
00427 FGAPI void FGAPIENTRY glutSetCursor( int cursor );
00428
00429
00430
00431
00432 FGAPI void FGAPIENTRY glutEstablishOverlay( void );
00433 FGAPI void FGAPIENTRY glutRemoveOverlay( void );
00434 FGAPI void FGAPIENTRY glutUseLayer( GLenum layer );
00435 FGAPI void FGAPIENTRY glutPostOverlayRedisplay( void );
00436 FGAPI void FGAPIENTRY glutPostWindowOverlayRedisplay( int window );
00437 FGAPI void FGAPIENTRY glutShowOverlay( void );
00438 FGAPI void FGAPIENTRY glutHideOverlay( void );
00439
00440
00441
00442
00443 FGAPI int FGAPIENTRY glutCreateMenu( void (* callback)( int menu ) );
00444 FGAPI void FGAPIENTRY glutDestroyMenu( int menu );
00445 FGAPI int FGAPIENTRY glutGetMenu( void );
00446 FGAPI void FGAPIENTRY glutSetMenu( int menu );
00447 FGAPI void FGAPIENTRY glutAddMenuEntry( const char* label, int value );
00448 FGAPI void FGAPIENTRY glutAddSubMenu( const char* label, int subMenu );
00449 FGAPI void FGAPIENTRY glutChangeToMenuEntry( int item, const char* label, int value );
00450 FGAPI void FGAPIENTRY glutChangeToSubMenu( int item, const char* label, int value );
00451 FGAPI void FGAPIENTRY glutRemoveMenuItem( int item );
00452 FGAPI void FGAPIENTRY glutAttachMenu( int button );
00453 FGAPI void FGAPIENTRY glutDetachMenu( int button );
00454
00455
00456
00457
00458 FGAPI void FGAPIENTRY glutTimerFunc( unsigned int time, void (* callback)( int ), int value );
00459 FGAPI void FGAPIENTRY glutIdleFunc( void (* callback)( void ) );
00460
00461
00462
00463
00464 FGAPI void FGAPIENTRY glutKeyboardFunc( void (* callback)( unsigned char, int, int ) );
00465 FGAPI void FGAPIENTRY glutSpecialFunc( void (* callback)( int, int, int ) );
00466 FGAPI void FGAPIENTRY glutReshapeFunc( void (* callback)( int, int ) );
00467 FGAPI void FGAPIENTRY glutVisibilityFunc( void (* callback)( int ) );
00468 FGAPI void FGAPIENTRY glutDisplayFunc( void (* callback)( void ) );
00469 FGAPI void FGAPIENTRY glutMouseFunc( void (* callback)( int, int, int, int ) );
00470 FGAPI void FGAPIENTRY glutMotionFunc( void (* callback)( int, int ) );
00471 FGAPI void FGAPIENTRY glutPassiveMotionFunc( void (* callback)( int, int ) );
00472 FGAPI void FGAPIENTRY glutEntryFunc( void (* callback)( int ) );
00473
00474 FGAPI void FGAPIENTRY glutKeyboardUpFunc( void (* callback)( unsigned char, int, int ) );
00475 FGAPI void FGAPIENTRY glutSpecialUpFunc( void (* callback)( int, int, int ) );
00476 FGAPI void FGAPIENTRY glutJoystickFunc( void (* callback)( unsigned int, int, int, int ), int pollInterval );
00477 FGAPI void FGAPIENTRY glutMenuStateFunc( void (* callback)( int ) );
00478 FGAPI void FGAPIENTRY glutMenuStatusFunc( void (* callback)( int, int, int ) );
00479 FGAPI void FGAPIENTRY glutOverlayDisplayFunc( void (* callback)( void ) );
00480 FGAPI void FGAPIENTRY glutWindowStatusFunc( void (* callback)( int ) );
00481
00482 FGAPI void FGAPIENTRY glutSpaceballMotionFunc( void (* callback)( int, int, int ) );
00483 FGAPI void FGAPIENTRY glutSpaceballRotateFunc( void (* callback)( int, int, int ) );
00484 FGAPI void FGAPIENTRY glutSpaceballButtonFunc( void (* callback)( int, int ) );
00485 FGAPI void FGAPIENTRY glutButtonBoxFunc( void (* callback)( int, int ) );
00486 FGAPI void FGAPIENTRY glutDialsFunc( void (* callback)( int, int ) );
00487 FGAPI void FGAPIENTRY glutTabletMotionFunc( void (* callback)( int, int ) );
00488 FGAPI void FGAPIENTRY glutTabletButtonFunc( void (* callback)( int, int, int, int ) );
00489
00490
00491
00492
00493 FGAPI int FGAPIENTRY glutGet( GLenum query );
00494 FGAPI int FGAPIENTRY glutDeviceGet( GLenum query );
00495 FGAPI int FGAPIENTRY glutGetModifiers( void );
00496 FGAPI int FGAPIENTRY glutLayerGet( GLenum query );
00497
00498
00499
00500
00501 FGAPI void FGAPIENTRY glutBitmapCharacter( void* font, int character );
00502 FGAPI int FGAPIENTRY glutBitmapWidth( void* font, int character );
00503 FGAPI void FGAPIENTRY glutStrokeCharacter( void* font, int character );
00504 FGAPI int FGAPIENTRY glutStrokeWidth( void* font, int character );
00505 FGAPI int FGAPIENTRY glutBitmapLength( void* font, const unsigned char* string );
00506 FGAPI int FGAPIENTRY glutStrokeLength( void* font, const unsigned char* string );
00507
00508
00509
00510
00511 FGAPI void FGAPIENTRY glutWireCube( GLdouble size );
00512 FGAPI void FGAPIENTRY glutSolidCube( GLdouble size );
00513 FGAPI void FGAPIENTRY glutWireSphere( GLdouble radius, GLint slices, GLint stacks );
00514 FGAPI void FGAPIENTRY glutSolidSphere( GLdouble radius, GLint slices, GLint stacks );
00515 FGAPI void FGAPIENTRY glutWireCone( GLdouble base, GLdouble height, GLint slices, GLint stacks );
00516 FGAPI void FGAPIENTRY glutSolidCone( GLdouble base, GLdouble height, GLint slices, GLint stacks );
00517
00518 FGAPI void FGAPIENTRY glutWireTorus( GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings );
00519 FGAPI void FGAPIENTRY glutSolidTorus( GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings );
00520 FGAPI void FGAPIENTRY glutWireDodecahedron( void );
00521 FGAPI void FGAPIENTRY glutSolidDodecahedron( void );
00522 FGAPI void FGAPIENTRY glutWireOctahedron( void );
00523 FGAPI void FGAPIENTRY glutSolidOctahedron( void );
00524 FGAPI void FGAPIENTRY glutWireTetrahedron( void );
00525 FGAPI void FGAPIENTRY glutSolidTetrahedron( void );
00526 FGAPI void FGAPIENTRY glutWireIcosahedron( void );
00527 FGAPI void FGAPIENTRY glutSolidIcosahedron( void );
00528
00529
00530
00531
00532 FGAPI void FGAPIENTRY glutWireTeapot( GLdouble size );
00533 FGAPI void FGAPIENTRY glutSolidTeapot( GLdouble size );
00534
00535
00536
00537
00538 FGAPI void FGAPIENTRY glutGameModeString( const char* string );
00539 FGAPI int FGAPIENTRY glutEnterGameMode( void );
00540 FGAPI void FGAPIENTRY glutLeaveGameMode( void );
00541 FGAPI int FGAPIENTRY glutGameModeGet( GLenum query );
00542
00543
00544
00545
00546 FGAPI int FGAPIENTRY glutVideoResizeGet( GLenum query );
00547 FGAPI void FGAPIENTRY glutSetupVideoResizing( void );
00548 FGAPI void FGAPIENTRY glutStopVideoResizing( void );
00549 FGAPI void FGAPIENTRY glutVideoResize( int x, int y, int width, int height );
00550 FGAPI void FGAPIENTRY glutVideoPan( int x, int y, int width, int height );
00551
00552
00553
00554
00555 FGAPI void FGAPIENTRY glutSetColor( int color, GLfloat red, GLfloat green, GLfloat blue );
00556 FGAPI GLfloat FGAPIENTRY glutGetColor( int color, int component );
00557 FGAPI void FGAPIENTRY glutCopyColormap( int window );
00558
00559
00560
00561
00562 FGAPI void FGAPIENTRY glutIgnoreKeyRepeat( int ignore );
00563 FGAPI void FGAPIENTRY glutSetKeyRepeat( int repeatMode );
00564 FGAPI void FGAPIENTRY glutForceJoystickFunc( void );
00565
00566
00567
00568
00569 FGAPI int FGAPIENTRY glutExtensionSupported( const char* extension );
00570 FGAPI void FGAPIENTRY glutReportErrors( void );
00571
00572 #ifdef __cplusplus
00573 }
00574 #endif
00575
00576
00577
00578 #endif
00579