Changeset 3079 for trunk/src/opengl/glut


Ignore:
Timestamp:
Mar 11, 2000, 10:05:07 AM (25 years ago)
Author:
jeroen
Message:

* empty log message *

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:38 jeroen Exp $ */
     1/* $Id: glut_event.c,v 1.6 2000-03-11 09:05:04 jeroen Exp $ */
    22/* Copyright (c) Mark J. Kilgard, 1994, 1995, 1996, 1997, 1998. */
    33
     
    321321processEventsAndTimeouts(void)
    322322{
     323  WriteLog("processEventsAndTimeouts() entry\n");
    323324  do {
    324325#if defined(_WIN32) || defined(__WIN32OS2__)
     
    826827#endif /* _WIN32 */
    827828    if (__glutTimerList) {
     829  WriteLog("processEventsAndTimeouts -> Calling handleTimeouts\n");
    828830      handleTimeouts();
     831  WriteLog("processEventsAndTimeouts -> Call handleTimeouts returned\n");
    829832    }
    830833  }
     
    931934  if (XPending(__glutDisplay)) {
    932935  immediatelyHandleXinput:
     936    WriteLog("waitForSmoething: Calling processEventsAndTimeouts\n");
    933937    processEventsAndTimeouts();
     938    WriteLog("waitForSmoething: Call processEventsAndTimeouts returned\n");
    934939  } else {
    935940    if (__glutTimerList)
     
    942947{
    943948  if (XPending(__glutDisplay)) {
     949    WriteLog("idleWait: Calling processEventsAndTimeouts\n");
    944950    processEventsAndTimeouts();
     951    WriteLog("idleWait: Call processEventsAndTimeouts returned\n");
    945952  } else {
    946953    if (__glutTimerList) {
     
    13711378        waitForSomething();
    13721379      } else {
     1380    WriteLog("glutMainLoop: Calling processEventsAndTimeouts\n");
    13731381        processEventsAndTimeouts();
     1382    WriteLog("glutMainLoop: Call processEventsAndTimeouts returned\n");
    13741383      }
    13751384    }
  • 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 $ */
    22/*
    33 * GLUT Termination - on exit cleanup any open windows
     
    66
    77#include <odinwrap.h>
     8#include "glut.h"
    89#include "glu.h"
    9 #include "glut.h"
    1010#include "glutint.h"
    1111
  • trunk/src/opengl/glut/glut_win.c

    r3022 r3079  
    1 /* $Id: glut_win.c,v 1.5 2000-03-05 10:19:38 jeroen Exp $ */
     1/* $Id: glut_win.c,v 1.6 2000-03-11 09:05:05 jeroen Exp $ */
    22/* Copyright (c) Mark J. Kilgard, 1994, 1997.  */
    33
     
    403403}
    404404
    405 void CDECL
     405void GLCALLBACK
    406406__glutDefaultDisplay(void)
    407407{
     
    413413}
    414414
    415 void CDECL
     415void GLCALLBACK
    416416__glutDefaultReshape(int width, int height)
    417417{
     
    10031003}
    10041004
    1005 static void GLAPIENTRY
     1005static void GLCALLBACK
    10061006visibilityHelper(int status)
    10071007{
  • trunk/src/opengl/glut/glutint.h

    r3022 r3079  
    1 /* $Id: glutint.h,v 1.4 2000-03-05 10:19:38 jeroen Exp $ */
     1/* $Id: glutint.h,v 1.5 2000-03-11 09:05:05 jeroen Exp $ */
    22#ifndef __glutint_h__
    33#define __glutint_h__
     
    253253
    254254/* GLUT  function types */
    255 typedef void (* CDECL GLUTdisplayCB) (void);
    256 typedef void (* CDECL GLUTreshapeCB) (int, int);
    257 typedef void (* CDECL GLUTkeyboardCB) (unsigned char, int, int);
    258 typedef void (* CDECL GLUTmouseCB) (int, int, int, int);
    259 typedef void (* CDECL GLUTmotionCB) (int, int);
    260 typedef void (* CDECL GLUTpassiveCB) (int, int);
    261 typedef void (* CDECL GLUTentryCB) (int);
    262 typedef void (* CDECL GLUTvisibilityCB) (int);
    263 typedef void (* CDECL GLUTwindowStatusCB) (int);
    264 typedef void (* CDECL GLUTidleCB) (void);
    265 typedef void (* CDECL GLUTtimerCB) (int);
    266 typedef void (* CDECL GLUTmenuStateCB) (int);  /* DEPRICATED.              */
    267 typedef void (* CDECL GLUTmenuStatusCB) (int, int, int);
    268 typedef void (* CDECL GLUTselectCB) (int);
    269 typedef void (* CDECL GLUTspecialCB) (int, int, int);
    270 typedef void (* CDECL GLUTspaceMotionCB) (int, int, int);
    271 typedef void (* CDECL GLUTspaceRotateCB) (int, int, int);
    272 typedef void (* CDECL GLUTspaceButtonCB) (int, int);
    273 typedef void (* CDECL GLUTdialsCB) (int, int);
    274 typedef void (* CDECL GLUTbuttonBoxCB) (int, int);
    275 typedef void (* CDECL GLUTtabletMotionCB) (int, int);
    276 typedef void (* CDECL GLUTtabletButtonCB) (int, int, int, int);
    277 typedef void (* CDECL GLUTjoystickCB) (unsigned int buttonMask, int x, int y, int z);
     255typedef void (* GLCALLBACK GLUTdisplayCB) (void);
     256typedef void (* GLCALLBACK GLUTreshapeCB) (int, int);
     257typedef void (* GLCALLBACK GLUTkeyboardCB) (unsigned char, int, int);
     258typedef void (* GLCALLBACK GLUTmouseCB) (int, int, int, int);
     259typedef void (* GLCALLBACK GLUTmotionCB) (int, int);
     260typedef void (* GLCALLBACK GLUTpassiveCB) (int, int);
     261typedef void (* GLCALLBACK GLUTentryCB) (int);
     262typedef void (* GLCALLBACK GLUTvisibilityCB) (int);
     263typedef void (* GLCALLBACK GLUTwindowStatusCB) (int);
     264typedef void (* GLCALLBACK GLUTidleCB) (void);
     265typedef void (* GLCALLBACK GLUTtimerCB) (int);
     266typedef void (* GLCALLBACK GLUTmenuStateCB) (int);  /* DEPRICATED.              */
     267typedef void (* GLCALLBACK GLUTmenuStatusCB) (int, int, int);
     268typedef void (* GLCALLBACK GLUTselectCB) (int);
     269typedef void (* GLCALLBACK GLUTspecialCB) (int, int, int);
     270typedef void (* GLCALLBACK GLUTspaceMotionCB) (int, int, int);
     271typedef void (* GLCALLBACK GLUTspaceRotateCB) (int, int, int);
     272typedef void (* GLCALLBACK GLUTspaceButtonCB) (int, int);
     273typedef void (* GLCALLBACK GLUTdialsCB) (int, int);
     274typedef void (* GLCALLBACK GLUTbuttonBoxCB) (int, int);
     275typedef void (* GLCALLBACK GLUTtabletMotionCB) (int, int);
     276typedef void (* GLCALLBACK GLUTtabletButtonCB) (int, int, int, int);
     277typedef void (* GLCALLBACK GLUTjoystickCB) (unsigned int buttonMask, int x, int y, int z);
    278278#ifdef SUPPORT_FORTRAN
    279279typedef void (*GLUTdisplayFCB) (void);
     
    664664extern GLUTmenuItem *__glutItemSelected;
    665665extern GLUTmenu **__glutMenuList;
    666 extern void (* CDECL __glutMenuStatusFunc) (int, int, int);
     666extern void (* GLCALLBACK __glutMenuStatusFunc) (int, int, int);
    667667extern void __glutMenuModificationError(void);
    668668extern void __glutSetMenuItem(GLUTmenuItem * item,
     
    746746extern void __glutReshapeFunc(GLUTreshapeCB reshapeFunc,
    747747  int callingConvention);
    748 extern void  CDECL __glutDefaultReshape(int, int);
     748extern void  GLCALLBACK __glutDefaultReshape(int, int);
    749749extern GLUTwindow *__glutCreateWindow(
    750750  GLUTwindow * parent,
  • trunk/src/opengl/glut/win32_menu.c

    r3022 r3079  
    1 /* $Id: win32_menu.c,v 1.3 2000-03-05 10:19:39 jeroen Exp $ */
     1/* $Id: win32_menu.c,v 1.4 2000-03-11 09:05:05 jeroen Exp $ */
    22/* Copyright (c) Mark J. Kilgard, 1994, 1997, 1998. */
    33/* Copyright (c) Nate Robins, 1997. */
     
    1919#include "glutint.h"
    2020
    21 void (* CDECL __glutMenuStatusFunc) (int, int, int);
     21void (* GLCALLBACK __glutMenuStatusFunc) (int, int, int);
    2222extern GLUTmenu *__glutMappedMenu;
    2323extern GLUTwindow *__glutMenuWindow;
Note: See TracChangeset for help on using the changeset viewer.