Changeset 3079 for trunk/src/opengl/glut
- Timestamp:
- Mar 11, 2000, 10:05:07 AM (25 years ago)
- Location:
- trunk/src/opengl/glut
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glut/glut_event.c
r3022 r3079 1 /* $Id: glut_event.c,v 1. 5 2000-03-05 10:19:38jeroen Exp $ */1 /* $Id: glut_event.c,v 1.6 2000-03-11 09:05:04 jeroen Exp $ */ 2 2 /* Copyright (c) Mark J. Kilgard, 1994, 1995, 1996, 1997, 1998. */ 3 3 … … 321 321 processEventsAndTimeouts(void) 322 322 { 323 WriteLog("processEventsAndTimeouts() entry\n"); 323 324 do { 324 325 #if defined(_WIN32) || defined(__WIN32OS2__) … … 826 827 #endif /* _WIN32 */ 827 828 if (__glutTimerList) { 829 WriteLog("processEventsAndTimeouts -> Calling handleTimeouts\n"); 828 830 handleTimeouts(); 831 WriteLog("processEventsAndTimeouts -> Call handleTimeouts returned\n"); 829 832 } 830 833 } … … 931 934 if (XPending(__glutDisplay)) { 932 935 immediatelyHandleXinput: 936 WriteLog("waitForSmoething: Calling processEventsAndTimeouts\n"); 933 937 processEventsAndTimeouts(); 938 WriteLog("waitForSmoething: Call processEventsAndTimeouts returned\n"); 934 939 } else { 935 940 if (__glutTimerList) … … 942 947 { 943 948 if (XPending(__glutDisplay)) { 949 WriteLog("idleWait: Calling processEventsAndTimeouts\n"); 944 950 processEventsAndTimeouts(); 951 WriteLog("idleWait: Call processEventsAndTimeouts returned\n"); 945 952 } else { 946 953 if (__glutTimerList) { … … 1371 1378 waitForSomething(); 1372 1379 } else { 1380 WriteLog("glutMainLoop: Calling processEventsAndTimeouts\n"); 1373 1381 processEventsAndTimeouts(); 1382 WriteLog("glutMainLoop: Call processEventsAndTimeouts returned\n"); 1374 1383 } 1375 1384 } -
trunk/src/opengl/glut/glut_term.c
r2996 r3079 1 /* $Id: glut_term.c,v 1. 2 2000-03-04 19:10:15 jeroen Exp $ */1 /* $Id: glut_term.c,v 1.3 2000-03-11 09:05:05 jeroen Exp $ */ 2 2 /* 3 3 * GLUT Termination - on exit cleanup any open windows … … 6 6 7 7 #include <odinwrap.h> 8 #include "glut.h" 8 9 #include "glu.h" 9 #include "glut.h"10 10 #include "glutint.h" 11 11 -
trunk/src/opengl/glut/glut_win.c
r3022 r3079 1 /* $Id: glut_win.c,v 1. 5 2000-03-05 10:19:38jeroen Exp $ */1 /* $Id: glut_win.c,v 1.6 2000-03-11 09:05:05 jeroen Exp $ */ 2 2 /* Copyright (c) Mark J. Kilgard, 1994, 1997. */ 3 3 … … 403 403 } 404 404 405 void CDECL405 void GLCALLBACK 406 406 __glutDefaultDisplay(void) 407 407 { … … 413 413 } 414 414 415 void CDECL415 void GLCALLBACK 416 416 __glutDefaultReshape(int width, int height) 417 417 { … … 1003 1003 } 1004 1004 1005 static void GL APIENTRY1005 static void GLCALLBACK 1006 1006 visibilityHelper(int status) 1007 1007 { -
trunk/src/opengl/glut/glutint.h
r3022 r3079 1 /* $Id: glutint.h,v 1. 4 2000-03-05 10:19:38jeroen Exp $ */1 /* $Id: glutint.h,v 1.5 2000-03-11 09:05:05 jeroen Exp $ */ 2 2 #ifndef __glutint_h__ 3 3 #define __glutint_h__ … … 253 253 254 254 /* GLUT function types */ 255 typedef void (* CDECLGLUTdisplayCB) (void);256 typedef void (* CDECLGLUTreshapeCB) (int, int);257 typedef void (* CDECLGLUTkeyboardCB) (unsigned char, int, int);258 typedef void (* CDECLGLUTmouseCB) (int, int, int, int);259 typedef void (* CDECLGLUTmotionCB) (int, int);260 typedef void (* CDECLGLUTpassiveCB) (int, int);261 typedef void (* CDECLGLUTentryCB) (int);262 typedef void (* CDECLGLUTvisibilityCB) (int);263 typedef void (* CDECLGLUTwindowStatusCB) (int);264 typedef void (* CDECLGLUTidleCB) (void);265 typedef void (* CDECLGLUTtimerCB) (int);266 typedef void (* CDECLGLUTmenuStateCB) (int); /* DEPRICATED. */267 typedef void (* CDECLGLUTmenuStatusCB) (int, int, int);268 typedef void (* CDECLGLUTselectCB) (int);269 typedef void (* CDECLGLUTspecialCB) (int, int, int);270 typedef void (* CDECLGLUTspaceMotionCB) (int, int, int);271 typedef void (* CDECLGLUTspaceRotateCB) (int, int, int);272 typedef void (* CDECLGLUTspaceButtonCB) (int, int);273 typedef void (* CDECLGLUTdialsCB) (int, int);274 typedef void (* CDECLGLUTbuttonBoxCB) (int, int);275 typedef void (* CDECLGLUTtabletMotionCB) (int, int);276 typedef void (* CDECLGLUTtabletButtonCB) (int, int, int, int);277 typedef void (* CDECLGLUTjoystickCB) (unsigned int buttonMask, int x, int y, int z);255 typedef void (* GLCALLBACK GLUTdisplayCB) (void); 256 typedef void (* GLCALLBACK GLUTreshapeCB) (int, int); 257 typedef void (* GLCALLBACK GLUTkeyboardCB) (unsigned char, int, int); 258 typedef void (* GLCALLBACK GLUTmouseCB) (int, int, int, int); 259 typedef void (* GLCALLBACK GLUTmotionCB) (int, int); 260 typedef void (* GLCALLBACK GLUTpassiveCB) (int, int); 261 typedef void (* GLCALLBACK GLUTentryCB) (int); 262 typedef void (* GLCALLBACK GLUTvisibilityCB) (int); 263 typedef void (* GLCALLBACK GLUTwindowStatusCB) (int); 264 typedef void (* GLCALLBACK GLUTidleCB) (void); 265 typedef void (* GLCALLBACK GLUTtimerCB) (int); 266 typedef void (* GLCALLBACK GLUTmenuStateCB) (int); /* DEPRICATED. */ 267 typedef void (* GLCALLBACK GLUTmenuStatusCB) (int, int, int); 268 typedef void (* GLCALLBACK GLUTselectCB) (int); 269 typedef void (* GLCALLBACK GLUTspecialCB) (int, int, int); 270 typedef void (* GLCALLBACK GLUTspaceMotionCB) (int, int, int); 271 typedef void (* GLCALLBACK GLUTspaceRotateCB) (int, int, int); 272 typedef void (* GLCALLBACK GLUTspaceButtonCB) (int, int); 273 typedef void (* GLCALLBACK GLUTdialsCB) (int, int); 274 typedef void (* GLCALLBACK GLUTbuttonBoxCB) (int, int); 275 typedef void (* GLCALLBACK GLUTtabletMotionCB) (int, int); 276 typedef void (* GLCALLBACK GLUTtabletButtonCB) (int, int, int, int); 277 typedef void (* GLCALLBACK GLUTjoystickCB) (unsigned int buttonMask, int x, int y, int z); 278 278 #ifdef SUPPORT_FORTRAN 279 279 typedef void (*GLUTdisplayFCB) (void); … … 664 664 extern GLUTmenuItem *__glutItemSelected; 665 665 extern GLUTmenu **__glutMenuList; 666 extern void (* CDECL__glutMenuStatusFunc) (int, int, int);666 extern void (* GLCALLBACK __glutMenuStatusFunc) (int, int, int); 667 667 extern void __glutMenuModificationError(void); 668 668 extern void __glutSetMenuItem(GLUTmenuItem * item, … … 746 746 extern void __glutReshapeFunc(GLUTreshapeCB reshapeFunc, 747 747 int callingConvention); 748 extern void CDECL__glutDefaultReshape(int, int);748 extern void GLCALLBACK __glutDefaultReshape(int, int); 749 749 extern GLUTwindow *__glutCreateWindow( 750 750 GLUTwindow * parent, -
trunk/src/opengl/glut/win32_menu.c
r3022 r3079 1 /* $Id: win32_menu.c,v 1. 3 2000-03-05 10:19:39jeroen Exp $ */1 /* $Id: win32_menu.c,v 1.4 2000-03-11 09:05:05 jeroen Exp $ */ 2 2 /* Copyright (c) Mark J. Kilgard, 1994, 1997, 1998. */ 3 3 /* Copyright (c) Nate Robins, 1997. */ … … 19 19 #include "glutint.h" 20 20 21 void (* CDECL__glutMenuStatusFunc) (int, int, int);21 void (* GLCALLBACK __glutMenuStatusFunc) (int, int, int); 22 22 extern GLUTmenu *__glutMappedMenu; 23 23 extern GLUTwindow *__glutMenuWindow;
Note:
See TracChangeset
for help on using the changeset viewer.