1 | /* $Id: glutos2.h,v 1.1 2000-01-27 21:49:13 sandervl Exp $ */
|
---|
2 | #ifndef __glutos2_h__
|
---|
3 | #define __glutos2_h__
|
---|
4 |
|
---|
5 | #ifdef __cplusplus
|
---|
6 | extern "C" {
|
---|
7 | #endif
|
---|
8 |
|
---|
9 | #ifndef GLUT_API_VERSION
|
---|
10 | #define GLUT_API_VERSION 2
|
---|
11 | #endif
|
---|
12 | #ifndef GLUT_XLIB_IMPLEMENTATION
|
---|
13 | #define GLUT_XLIB_IMPLEMENTATION 2
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | extern void APIENTRY OS2glutInit (int *, char **);
|
---|
17 | extern void APIENTRY OS2glutInitDisplayMode (unsigned long);
|
---|
18 | extern void APIENTRY OS2glutInitWindowPosition (int, int);
|
---|
19 | extern void APIENTRY OS2glutInitWindowSize (int, int);
|
---|
20 | extern void APIENTRY OS2glutMainLoop (void);
|
---|
21 | extern int APIENTRY OS2glutCreateWindow (char *);
|
---|
22 | extern int APIENTRY OS2glutCreateSubWindow (int, int, int, int, int);
|
---|
23 | extern void APIENTRY OS2glutDestroyWindow (int);
|
---|
24 | extern void APIENTRY OS2glutPostRedisplay (void);
|
---|
25 | extern void APIENTRY OS2glutSwapBuffers (void);
|
---|
26 | extern int APIENTRY OS2glutGetWindow (void);
|
---|
27 | extern void APIENTRY OS2glutSetWindow (int);
|
---|
28 | extern void APIENTRY OS2glutSetWindowTitle (char *);
|
---|
29 | extern void APIENTRY OS2glutSetIconTitle (char *);
|
---|
30 | extern void APIENTRY OS2glutPositionWindow (int, int);
|
---|
31 | extern void APIENTRY OS2glutReshapeWindow (int, int);
|
---|
32 | extern void APIENTRY OS2glutPopWindow (void);
|
---|
33 | extern void APIENTRY OS2glutPushWindow (void);
|
---|
34 | extern void APIENTRY OS2glutIconifyWindow (void);
|
---|
35 | extern void APIENTRY OS2glutShowWindow (void);
|
---|
36 | extern void APIENTRY OS2glutHideWindow (void);
|
---|
37 | extern int APIENTRY OS2glutCreateMenu (void (* APIENTRY)(int));
|
---|
38 | extern void APIENTRY OS2glutDestroyMenu (int);
|
---|
39 | extern int APIENTRY OS2glutGetMenu (void);
|
---|
40 | extern void APIENTRY OS2glutSetMenu (int);
|
---|
41 | extern void APIENTRY OS2glutAddMenuEntry (char *, int);
|
---|
42 | extern void APIENTRY OS2glutAddSubMenu (char *, int);
|
---|
43 | extern void APIENTRY OS2glutChangeToMenuEntry (int, char *, int);
|
---|
44 | extern void APIENTRY OS2glutChangeToSubMenu (int, char *, int);
|
---|
45 | extern void APIENTRY OS2glutRemoveMenuItem (int);
|
---|
46 | extern void APIENTRY OS2glutAttachMenu (int);
|
---|
47 | extern void APIENTRY OS2glutDetachMenu (int);
|
---|
48 | extern void APIENTRY OS2glutDisplayFunc (void (* APIENTRY)(void));
|
---|
49 | extern void APIENTRY OS2glutReshapeFunc (void (* APIENTRY)(int, int));
|
---|
50 | extern void APIENTRY OS2glutKeyboardFunc (void (* APIENTRY)(unsigned char, int, int));
|
---|
51 | extern void APIENTRY OS2glutMouseFunc (void (* APIENTRY)(int, int, int, int));
|
---|
52 | extern void APIENTRY OS2glutMotionFunc (void (* APIENTRY)(int, int));
|
---|
53 | extern void APIENTRY OS2glutPassiveMotionFunc (void (* APIENTRY)(int, int));
|
---|
54 | extern void APIENTRY OS2glutEntryFunc (void (* APIENTRY)(int));
|
---|
55 | extern void APIENTRY OS2glutVisibilityFunc (void (* APIENTRY)(int));
|
---|
56 | extern void APIENTRY OS2glutIdleFunc (void (* APIENTRY)(void));
|
---|
57 | extern void APIENTRY OS2glutTimerFunc (unsigned long, void (* APIENTRY)(int), int);
|
---|
58 | extern void APIENTRY OS2glutMenuStateFunc (void (* APIENTRY)(int));
|
---|
59 | extern void APIENTRY OS2glutSpecialFunc (void (* APIENTRY)(int, int, int));
|
---|
60 | extern void APIENTRY OS2glutSpaceballMotionFunc (void (* APIENTRY)(int, int, int));
|
---|
61 | extern void APIENTRY OS2glutSpaceballRotateFunc (void (* APIENTRY)(int, int, int));
|
---|
62 | extern void APIENTRY OS2glutSpaceballButtonFunc (void (* APIENTRY)(int, int));
|
---|
63 | extern void APIENTRY OS2glutButtonBoxFunc (void (* APIENTRY)(int, int));
|
---|
64 | extern void APIENTRY OS2glutDialsFunc (void (* APIENTRY)(int, int));
|
---|
65 | extern void APIENTRY OS2glutTabletMotionFunc (void (* APIENTRY)(int, int));
|
---|
66 | extern void APIENTRY OS2glutTabletButtonFunc (void (* APIENTRY)(int, int, int, int));
|
---|
67 | extern void APIENTRY OS2glutSetColor (int, GLfloat, GLfloat, GLfloat);
|
---|
68 | extern GLfloat APIENTRY OS2glutGetColor (int, int);
|
---|
69 | extern void APIENTRY OS2glutCopyColormap (int);
|
---|
70 | extern int APIENTRY OS2glutGet (GLenum);
|
---|
71 | extern int APIENTRY OS2glutDeviceGet (GLenum);
|
---|
72 | extern void APIENTRY OS2glutStrokeCharacter (void *, int);
|
---|
73 | extern void APIENTRY OS2glutBitmapCharacter (void *, int);
|
---|
74 | extern void APIENTRY OS2glutWireSphere (GLdouble, GLint, GLint);
|
---|
75 | extern void APIENTRY OS2glutSolidSphere (GLdouble, GLint, GLint);
|
---|
76 | extern void APIENTRY OS2glutWireCone (GLdouble, GLdouble, GLint, GLint);
|
---|
77 | extern void APIENTRY OS2glutSolidCone (GLdouble, GLdouble, GLint, GLint);
|
---|
78 | extern void APIENTRY OS2glutWireCube (GLdouble);
|
---|
79 | extern void APIENTRY OS2glutSolidCube (GLdouble);
|
---|
80 | extern void APIENTRY OS2glutWireTorus (GLdouble, GLdouble, GLint, GLint);
|
---|
81 | extern void APIENTRY OS2glutSolidTorus (GLdouble, GLdouble, GLint, GLint);
|
---|
82 | extern void APIENTRY OS2glutWireDodecahedron (void);
|
---|
83 | extern void APIENTRY OS2glutSolidDodecahedron (void);
|
---|
84 | extern void APIENTRY OS2glutWireTeapot (GLdouble);
|
---|
85 | extern void APIENTRY OS2glutSolidTeapot (GLdouble);
|
---|
86 | extern void APIENTRY OS2glutWireOctahedron (void);
|
---|
87 | extern void APIENTRY OS2glutSolidOctahedron (void);
|
---|
88 | extern void APIENTRY OS2glutWireTetrahedron (void);
|
---|
89 | extern void APIENTRY OS2glutSolidTetrahedron (void);
|
---|
90 | extern void APIENTRY OS2glutWireIcosahedron (void);
|
---|
91 | extern void APIENTRY OS2glutSolidIcosahedron (void);
|
---|
92 | extern int APIENTRY OS2glutExtensionSupported (char *);
|
---|
93 |
|
---|
94 | #ifdef __cplusplus
|
---|
95 | }
|
---|
96 | #endif
|
---|
97 |
|
---|
98 | #endif /* __glutos2_h__ */
|
---|