summaryrefslogtreecommitdiff
path: root/src/glut/beos/glutint.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>1999-09-16 22:45:24 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>1999-09-16 22:45:24 +0000
commit4811b7c7e02c0612975a8526f8ebba49ece0e72b (patch)
treed039cf9b6dd2a9d4fb47b856f1f89adec4ff81f8 /src/glut/beos/glutint.h
parentb9e8741c8f0e5d683df4be09a232aa722589645e (diff)
initial check-in
Diffstat (limited to 'src/glut/beos/glutint.h')
-rw-r--r--src/glut/beos/glutint.h75
1 files changed, 75 insertions, 0 deletions
diff --git a/src/glut/beos/glutint.h b/src/glut/beos/glutint.h
new file mode 100644
index 0000000000..5ce2970d24
--- /dev/null
+++ b/src/glut/beos/glutint.h
@@ -0,0 +1,75 @@
+/***********************************************************
+ * Copyright (C) 1997, Be Inc. All rights reserved.
+ *
+ * FILE: glutint.h
+ *
+ * DESCRIPTION: This is the new glut internal header file.
+ * most of the things formerly stored here are now in
+ * their own header files as C++ classes.
+ ***********************************************************/
+
+#include <SupportDefs.h>
+
+/***********************************************************
+ * GLUT function types
+ ***********************************************************/
+typedef void (*GLUTdisplayCB) (void);
+typedef void (*GLUTreshapeCB) (int, int);
+typedef void (*GLUTkeyboardCB) (unsigned char, int, int);
+typedef void (*GLUTmouseCB) (int, int, int, int);
+typedef void (*GLUTmotionCB) (int, int);
+typedef void (*GLUTpassiveCB) (int, int);
+typedef void (*GLUTentryCB) (int);
+typedef void (*GLUTvisibilityCB) (int);
+typedef void (*GLUTwindowStatusCB) (int);
+typedef void (*GLUTidleCB) (void);
+typedef void (*GLUTtimerCB) (int);
+typedef void (*GLUTmenuStateCB) (int); /* DEPRICATED.
+ */
+typedef void (*GLUTmenuStatusCB) (int, int, int);
+typedef void (*GLUTselectCB) (int);
+typedef void (*GLUTspecialCB) (int, int, int);
+typedef void (*GLUTspaceMotionCB) (int, int, int);
+typedef void (*GLUTspaceRotateCB) (int, int, int);
+typedef void (*GLUTspaceButtonCB) (int, int);
+typedef void (*GLUTdialsCB) (int, int);
+typedef void (*GLUTbuttonBoxCB) (int, int);
+typedef void (*GLUTtabletMotionCB) (int, int);
+typedef void (*GLUTtabletButtonCB) (int, int, int, int);
+
+/***********************************************************
+ * Prototypes for glutInit.cpp
+ ***********************************************************/
+void __glutInitTime(bigtime_t *beginning);
+void __glutInit();
+
+/***********************************************************
+ * Prototypes for glut_util.c
+ ***********************************************************/
+void __glutWarning(char *format,...);
+void __glutFatalError(char *format,...);
+void __glutFatalUsage(char *format,...);
+
+/***********************************************************
+ * Prototypes for glutMenu.cpp
+ ***********************************************************/
+class GlutMenu; // avoid including glutMenu.h
+GlutMenu *__glutGetMenuByNum(int menunum);
+
+/***********************************************************
+ * Prototypes for glutWindow.cpp
+ ***********************************************************/
+int __glutConvertDisplayMode(unsigned long *options);
+void __glutDefaultReshape(int width, int height);
+class GlutWindow; // avoid including glutWindow.h in every source file
+void __glutSetWindow(GlutWindow * window);
+
+/***********************************************************
+ * Prototypes for glutDstr.cpp
+ ***********************************************************/
+int __glutConvertDisplayModeFromString(unsigned long *options);
+
+/***********************************************************
+ * Prototypes for glutCursor.cpp
+ ***********************************************************/
+void __glutSetCursor(int cursor);