summaryrefslogtreecommitdiff
path: root/src/glut/dos/callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glut/dos/callback.c')
-rw-r--r--src/glut/dos/callback.c328
1 files changed, 164 insertions, 164 deletions
diff --git a/src/glut/dos/callback.c b/src/glut/dos/callback.c
index 67e52ee59f..8ab75e794c 100644
--- a/src/glut/dos/callback.c
+++ b/src/glut/dos/callback.c
@@ -1,164 +1,164 @@
-/*
- * Mesa 3-D graphics library
- * Version: 3.4
- * Copyright (C) 1995-1998 Brian Paul
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-/*
- * DOS/DJGPP glut driver v1.3 for Mesa
- *
- * Copyright (C) 2002 - Borca Daniel
- * Email : dborca@yahoo.com
- * Web : http://www.geocities.com/dborca
- */
-
-
-#include "glutint.h"
-
-
-
-GLUTidleCB g_idle_func = NULL;
-
-
-
-void APIENTRY glutDisplayFunc (GLUTdisplayCB func)
-{
- g_curwin->display = func;
-}
-
-
-
-void APIENTRY glutReshapeFunc (GLUTreshapeCB func)
-{
- g_curwin->reshape = func;
-}
-
-
-
-void APIENTRY glutKeyboardFunc (GLUTkeyboardCB func)
-{
- g_curwin->keyboard = func;
-}
-
-
-
-void APIENTRY glutMouseFunc (GLUTmouseCB func)
-{
- g_curwin->mouse = func;
-}
-
-
-
-void APIENTRY glutMotionFunc (GLUTmotionCB func)
-{
- g_curwin->motion = func;
-}
-
-
-
-void APIENTRY glutPassiveMotionFunc (GLUTpassiveCB func)
-{
- g_curwin->passive = func;
-}
-
-
-
-void APIENTRY glutEntryFunc (GLUTentryCB func)
-{
- g_curwin->entry = func;
-}
-
-
-
-void APIENTRY glutVisibilityFunc (GLUTvisibilityCB func)
-{
- g_curwin->visibility = func;
-}
-
-
-
-void APIENTRY glutWindowStatusFunc (GLUTwindowStatusCB func)
-{
-}
-
-
-
-void APIENTRY glutIdleFunc (GLUTidleCB func)
-{
- g_idle_func = func;
-}
-
-
-
-void APIENTRY glutTimerFunc (unsigned int millis, GLUTtimerCB func, int value)
-{
-}
-
-
-
-void APIENTRY glutSpecialFunc (GLUTspecialCB func)
-{
- g_curwin->special = func;
-}
-
-
-
-void APIENTRY glutSpaceballMotionFunc (GLUTspaceMotionCB func)
-{
-}
-
-
-
-void APIENTRY glutSpaceballRotateFunc (GLUTspaceRotateCB func)
-{
-}
-
-
-
-void APIENTRY glutSpaceballButtonFunc (GLUTspaceButtonCB func)
-{
-}
-
-
-
-void APIENTRY glutDialsFunc (GLUTdialsCB func)
-{
-}
-
-
-
-void APIENTRY glutButtonBoxFunc (GLUTbuttonBoxCB func)
-{
-}
-
-
-
-void APIENTRY glutTabletMotionFunc (GLUTtabletMotionCB func)
-{
-}
-
-
-
-void APIENTRY glutTabletButtonFunc (GLUTtabletButtonCB func)
-{
-}
-
-
-
-void APIENTRY glutJoystickFunc (GLUTjoystickCB func, int interval)
-{
-}
+/*
+ * Mesa 3-D graphics library
+ * Version: 3.4
+ * Copyright (C) 1995-1998 Brian Paul
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+/*
+ * DOS/DJGPP glut driver v1.3 for Mesa
+ *
+ * Copyright (C) 2002 - Borca Daniel
+ * Email : dborca@yahoo.com
+ * Web : http://www.geocities.com/dborca
+ */
+
+
+#include "glutint.h"
+
+
+
+GLUTidleCB g_idle_func = NULL;
+
+
+
+void APIENTRY glutDisplayFunc (GLUTdisplayCB func)
+{
+ g_curwin->display = func;
+}
+
+
+
+void APIENTRY glutReshapeFunc (GLUTreshapeCB func)
+{
+ g_curwin->reshape = func;
+}
+
+
+
+void APIENTRY glutKeyboardFunc (GLUTkeyboardCB func)
+{
+ g_curwin->keyboard = func;
+}
+
+
+
+void APIENTRY glutMouseFunc (GLUTmouseCB func)
+{
+ g_curwin->mouse = func;
+}
+
+
+
+void APIENTRY glutMotionFunc (GLUTmotionCB func)
+{
+ g_curwin->motion = func;
+}
+
+
+
+void APIENTRY glutPassiveMotionFunc (GLUTpassiveCB func)
+{
+ g_curwin->passive = func;
+}
+
+
+
+void APIENTRY glutEntryFunc (GLUTentryCB func)
+{
+ g_curwin->entry = func;
+}
+
+
+
+void APIENTRY glutVisibilityFunc (GLUTvisibilityCB func)
+{
+ g_curwin->visibility = func;
+}
+
+
+
+void APIENTRY glutWindowStatusFunc (GLUTwindowStatusCB func)
+{
+}
+
+
+
+void APIENTRY glutIdleFunc (GLUTidleCB func)
+{
+ g_idle_func = func;
+}
+
+
+
+void APIENTRY glutTimerFunc (unsigned int millis, GLUTtimerCB func, int value)
+{
+}
+
+
+
+void APIENTRY glutSpecialFunc (GLUTspecialCB func)
+{
+ g_curwin->special = func;
+}
+
+
+
+void APIENTRY glutSpaceballMotionFunc (GLUTspaceMotionCB func)
+{
+}
+
+
+
+void APIENTRY glutSpaceballRotateFunc (GLUTspaceRotateCB func)
+{
+}
+
+
+
+void APIENTRY glutSpaceballButtonFunc (GLUTspaceButtonCB func)
+{
+}
+
+
+
+void APIENTRY glutDialsFunc (GLUTdialsCB func)
+{
+}
+
+
+
+void APIENTRY glutButtonBoxFunc (GLUTbuttonBoxCB func)
+{
+}
+
+
+
+void APIENTRY glutTabletMotionFunc (GLUTtabletMotionCB func)
+{
+}
+
+
+
+void APIENTRY glutTabletButtonFunc (GLUTtabletButtonCB func)
+{
+}
+
+
+
+void APIENTRY glutJoystickFunc (GLUTjoystickCB func, int interval)
+{
+}