16#define GLUT_NOT_VISIBLE 0
20#define GLUT_RGBA GLUT_RGB
27#define GLUT_STENCIL 32
29#define GLUT_KEY_LEFT 100
30#define GLUT_KEY_UP 101
31#define GLUT_KEY_RIGHT 102
32#define GLUT_KEY_DOWN 103
33#define GLUT_KEY_PAGE_UP 104
34#define GLUT_KEY_PAGE_DOWN 105
35#define GLUT_KEY_HOME 106
36#define GLUT_KEY_END 107
37#define GLUT_KEY_INSERT 108
39#define GLUT_ELAPSED_TIME 700
41extern void glutInit(
int* argcp,
char** argv);
42extern void glutInitDisplayMode(
unsigned int mode);
43extern int glutCreateWindow(
const char* title);
44extern void glutInitWindowPosition(
int x,
int y);
45extern void glutInitWindowSize(
int width,
int height);
48extern void glutPostRedisplay(
void);
49extern void glutSwapBuffers(
void);
51extern int glutGet(GLenum type);
56extern void glutMouseFunc(
void (*func)(
int button,
int state,
int x,
int y));
57extern void glutMotionFunc(
void (*func)(
int x,
int y));
58extern void glutPassiveMotionFunc(
void (*func)(
int x,
int y));
60extern void glutEntryFunc(
void (*func)(
int state));
66extern void* pglutAllocDmaMem(
unsigned int num_bytes);
67extern void pglutFreeDmaMem(
void* mem);
void glutVisibilityFunc(void(*func)(int state))
void glutSpecialFunc(void(*func)(int key, int x, int y))
void glutReshapeFunc(void(*func)(int width, int height))
void glutIdleFunc(void(*func)(void))
void glutInit(int *argcp, char **argv)
void glutDisplayFunc(void(*func)(void))
void glutKeyboardFunc(void(*func)(unsigned char key, int x, int y))