source: trunk/src/opengl/glutos2.h@ 2532

Last change on this file since 2532 was 2532, checked in by sandervl, 26 years ago

JvdH: Created opengl dll

File size: 4.8 KB
Line 
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
6extern "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
16extern void APIENTRY OS2glutInit (int *, char **);
17extern void APIENTRY OS2glutInitDisplayMode (unsigned long);
18extern void APIENTRY OS2glutInitWindowPosition (int, int);
19extern void APIENTRY OS2glutInitWindowSize (int, int);
20extern void APIENTRY OS2glutMainLoop (void);
21extern int APIENTRY OS2glutCreateWindow (char *);
22extern int APIENTRY OS2glutCreateSubWindow (int, int, int, int, int);
23extern void APIENTRY OS2glutDestroyWindow (int);
24extern void APIENTRY OS2glutPostRedisplay (void);
25extern void APIENTRY OS2glutSwapBuffers (void);
26extern int APIENTRY OS2glutGetWindow (void);
27extern void APIENTRY OS2glutSetWindow (int);
28extern void APIENTRY OS2glutSetWindowTitle (char *);
29extern void APIENTRY OS2glutSetIconTitle (char *);
30extern void APIENTRY OS2glutPositionWindow (int, int);
31extern void APIENTRY OS2glutReshapeWindow (int, int);
32extern void APIENTRY OS2glutPopWindow (void);
33extern void APIENTRY OS2glutPushWindow (void);
34extern void APIENTRY OS2glutIconifyWindow (void);
35extern void APIENTRY OS2glutShowWindow (void);
36extern void APIENTRY OS2glutHideWindow (void);
37extern int APIENTRY OS2glutCreateMenu (void (* APIENTRY)(int));
38extern void APIENTRY OS2glutDestroyMenu (int);
39extern int APIENTRY OS2glutGetMenu (void);
40extern void APIENTRY OS2glutSetMenu (int);
41extern void APIENTRY OS2glutAddMenuEntry (char *, int);
42extern void APIENTRY OS2glutAddSubMenu (char *, int);
43extern void APIENTRY OS2glutChangeToMenuEntry (int, char *, int);
44extern void APIENTRY OS2glutChangeToSubMenu (int, char *, int);
45extern void APIENTRY OS2glutRemoveMenuItem (int);
46extern void APIENTRY OS2glutAttachMenu (int);
47extern void APIENTRY OS2glutDetachMenu (int);
48extern void APIENTRY OS2glutDisplayFunc (void (* APIENTRY)(void));
49extern void APIENTRY OS2glutReshapeFunc (void (* APIENTRY)(int, int));
50extern void APIENTRY OS2glutKeyboardFunc (void (* APIENTRY)(unsigned char, int, int));
51extern void APIENTRY OS2glutMouseFunc (void (* APIENTRY)(int, int, int, int));
52extern void APIENTRY OS2glutMotionFunc (void (* APIENTRY)(int, int));
53extern void APIENTRY OS2glutPassiveMotionFunc (void (* APIENTRY)(int, int));
54extern void APIENTRY OS2glutEntryFunc (void (* APIENTRY)(int));
55extern void APIENTRY OS2glutVisibilityFunc (void (* APIENTRY)(int));
56extern void APIENTRY OS2glutIdleFunc (void (* APIENTRY)(void));
57extern void APIENTRY OS2glutTimerFunc (unsigned long, void (* APIENTRY)(int), int);
58extern void APIENTRY OS2glutMenuStateFunc (void (* APIENTRY)(int));
59extern void APIENTRY OS2glutSpecialFunc (void (* APIENTRY)(int, int, int));
60extern void APIENTRY OS2glutSpaceballMotionFunc (void (* APIENTRY)(int, int, int));
61extern void APIENTRY OS2glutSpaceballRotateFunc (void (* APIENTRY)(int, int, int));
62extern void APIENTRY OS2glutSpaceballButtonFunc (void (* APIENTRY)(int, int));
63extern void APIENTRY OS2glutButtonBoxFunc (void (* APIENTRY)(int, int));
64extern void APIENTRY OS2glutDialsFunc (void (* APIENTRY)(int, int));
65extern void APIENTRY OS2glutTabletMotionFunc (void (* APIENTRY)(int, int));
66extern void APIENTRY OS2glutTabletButtonFunc (void (* APIENTRY)(int, int, int, int));
67extern void APIENTRY OS2glutSetColor (int, GLfloat, GLfloat, GLfloat);
68extern GLfloat APIENTRY OS2glutGetColor (int, int);
69extern void APIENTRY OS2glutCopyColormap (int);
70extern int APIENTRY OS2glutGet (GLenum);
71extern int APIENTRY OS2glutDeviceGet (GLenum);
72extern void APIENTRY OS2glutStrokeCharacter (void *, int);
73extern void APIENTRY OS2glutBitmapCharacter (void *, int);
74extern void APIENTRY OS2glutWireSphere (GLdouble, GLint, GLint);
75extern void APIENTRY OS2glutSolidSphere (GLdouble, GLint, GLint);
76extern void APIENTRY OS2glutWireCone (GLdouble, GLdouble, GLint, GLint);
77extern void APIENTRY OS2glutSolidCone (GLdouble, GLdouble, GLint, GLint);
78extern void APIENTRY OS2glutWireCube (GLdouble);
79extern void APIENTRY OS2glutSolidCube (GLdouble);
80extern void APIENTRY OS2glutWireTorus (GLdouble, GLdouble, GLint, GLint);
81extern void APIENTRY OS2glutSolidTorus (GLdouble, GLdouble, GLint, GLint);
82extern void APIENTRY OS2glutWireDodecahedron (void);
83extern void APIENTRY OS2glutSolidDodecahedron (void);
84extern void APIENTRY OS2glutWireTeapot (GLdouble);
85extern void APIENTRY OS2glutSolidTeapot (GLdouble);
86extern void APIENTRY OS2glutWireOctahedron (void);
87extern void APIENTRY OS2glutSolidOctahedron (void);
88extern void APIENTRY OS2glutWireTetrahedron (void);
89extern void APIENTRY OS2glutSolidTetrahedron (void);
90extern void APIENTRY OS2glutWireIcosahedron (void);
91extern void APIENTRY OS2glutSolidIcosahedron (void);
92extern int APIENTRY OS2glutExtensionSupported (char *);
93
94#ifdef __cplusplus
95}
96#endif
97
98#endif /* __glutos2_h__ */
Note: See TracBrowser for help on using the repository browser.