4 /* used by eglutInitAPIMask */
6 EGLUT_OPENGL_BIT
= 0x1,
7 EGLUT_OPENGL_ES1_BIT
= 0x2,
8 EGLUT_OPENGL_ES2_BIT
= 0x4,
12 /* used by EGLUTspecialCB */
28 /* directional keys */
35 /* used by eglutGet */
40 typedef void (*EGLUTidleCB
)(void);
41 typedef void (*EGLUTreshapeCB
)(int, int);
42 typedef void (*EGLUTdisplayCB
)(void);
43 typedef void (*EGLUTkeyboardCB
)(unsigned char);
44 typedef void (*EGLUTspecialCB
)(int);
46 void eglutInitAPIMask(int mask
);
47 void eglutInitWindowSize(int width
, int height
);
48 void eglutInit(int argc
, char **argv
);
50 int eglutGet(int state
);
52 void eglutIdleFunc(EGLUTidleCB func
);
53 void eglutPostRedisplay(void);
55 void eglutMainLoop(void);
57 int eglutCreateWindow(const char *title
);
59 int eglutGetWindowWidth(void);
60 int eglutGetWindowHeight(void);
62 void eglutDisplayFunc(EGLUTdisplayCB func
);
63 void eglutReshapeFunc(EGLUTreshapeCB func
);
64 void eglutKeyboardFunc(EGLUTkeyboardCB func
);
65 void eglutSpecialFunc(EGLUTspecialCB func
);