00001 #ifndef __glutf90_h__
00002 #define __glutf90_h__
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include <GL/glut.h>
00019
00020
00021
00022
00023
00024
00025 #define GLUT_FCB_DISPLAY 0
00026 #define GLUT_FCB_RESHAPE 1
00027 #define GLUT_FCB_MOUSE 2
00028 #define GLUT_FCB_MOTION 3
00029 #define GLUT_FCB_PASSIVE 4
00030 #define GLUT_FCB_ENTRY 5
00031 #define GLUT_FCB_KEYBOARD 6
00032 #define GLUT_FCB_KEYBOARD_UP 7
00033 #define GLUT_FCB_WINDOW_STATUS 8
00034 #define GLUT_FCB_VISIBILITY 9
00035 #define GLUT_FCB_SPECIAL 10
00036 #define GLUT_FCB_SPECIAL_UP 11
00037 #define GLUT_FCB_BUTTON_BOX 12
00038 #define GLUT_FCB_DIALS 13
00039 #define GLUT_FCB_SPACE_MOTION 14
00040 #define GLUT_FCB_SPACE_ROTATE 15
00041 #define GLUT_FCB_SPACE_BUTTON 16
00042 #define GLUT_FCB_TABLET_MOTION 17
00043 #define GLUT_FCB_TABLET_BUTTON 18
00044 #define GLUT_FCB_JOYSTICK 19
00045
00046 #define GLUT_FCB_OVERLAY_DISPLAY 100
00047 #define GLUT_FCB_SELECT 101
00048 #define GLUT_FCB_TIMER 102
00049
00050
00051 typedef void (GLUTCALLBACK *GLUTdisplayFCB) (void);
00052 typedef void (GLUTCALLBACK *GLUTreshapeFCB) (int *, int *);
00053
00054 typedef void (GLUTCALLBACK *GLUTkeyboardFCB) (int *, int *, int *);
00055 typedef void (GLUTCALLBACK *GLUTmouseFCB) (int *, int *, int *, int *);
00056 typedef void (GLUTCALLBACK *GLUTmotionFCB) (int *, int *);
00057 typedef void (GLUTCALLBACK *GLUTpassiveFCB) (int *, int *);
00058 typedef void (GLUTCALLBACK *GLUTentryFCB) (int *);
00059 typedef void (GLUTCALLBACK *GLUTwindowStatusFCB) (int *);
00060 typedef void (GLUTCALLBACK *GLUTvisibilityFCB) (int *);
00061 typedef void (GLUTCALLBACK *GLUTspecialFCB) (int *, int *, int *);
00062 typedef void (GLUTCALLBACK *GLUTbuttonBoxFCB) (int *, int *);
00063 typedef void (GLUTCALLBACK *GLUTdialsFCB) (int *, int *);
00064 typedef void (GLUTCALLBACK *GLUTspaceMotionFCB) (int *, int *, int *);
00065 typedef void (GLUTCALLBACK *GLUTspaceRotateFCB) (int *, int *, int *);
00066 typedef void (GLUTCALLBACK *GLUTspaceButtonFCB) (int *, int *);
00067 typedef void (GLUTCALLBACK *GLUTtabletMotionFCB) (int *, int *);
00068 typedef void (GLUTCALLBACK *GLUTtabletButtonFCB) (int *, int *, int *, int *);
00069 typedef void (GLUTCALLBACK *GLUTjoystickFCB) (unsigned int *buttonMask, int *x, int *y, int *z);
00070
00071 typedef void (GLUTCALLBACK *GLUTselectFCB) (int *);
00072 typedef void (GLUTCALLBACK *GLUTtimerFCB) (int *);
00073 typedef void (GLUTCALLBACK *GLUTmenuStateFCB) (int *);
00074 typedef void (GLUTCALLBACK *GLUTmenuStatusFCB) (int *, int *, int *);
00075 typedef void (GLUTCALLBACK *GLUTidleFCB) (void);
00076
00077
00078 GLUTAPI void* APIENTRY __glutGetFCB(int which);
00079 GLUTAPI void APIENTRY __glutSetFCB(int which, void *func);
00080
00081 #endif