2 * Mesa 3-D graphics library
4 * Copyright (C) 1995-1998 Brian Paul
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the Free
18 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 * DOS/DJGPP glut driver v1.0 for Mesa 4.0
24 * Copyright (C) 2002 - Borca Daniel
25 * Email : dborca@yahoo.com
26 * Web : http://www.geocities.com/dborca
34 void APIENTRY
glutDisplayFunc (void (GLUTCALLBACK
*func
) (void))
40 void APIENTRY
glutReshapeFunc (void (GLUTCALLBACK
*func
) (int width
, int height
))
46 void APIENTRY
glutKeyboardFunc (void (GLUTCALLBACK
*func
) (unsigned char key
, int x
, int y
))
52 void APIENTRY
glutMouseFunc (void (GLUTCALLBACK
*func
) (int button
, int state
, int x
, int y
))
58 void APIENTRY
glutMotionFunc (void (GLUTCALLBACK
*func
) (int x
, int y
))
64 void APIENTRY
glutPassiveMotionFunc (void (GLUTCALLBACK
*func
) (int x
, int y
))
66 passive_motion_func
= func
;
70 void APIENTRY
glutEntryFunc (void (GLUTCALLBACK
*func
) (int state
))
76 void APIENTRY
glutVisibilityFunc (void (GLUTCALLBACK
*func
) (int state
))
78 visibility_func
= func
;
82 void APIENTRY
glutIdleFunc (void (GLUTCALLBACK
*func
) (void))
88 void APIENTRY
glutTimerFunc (unsigned int millis
, void (GLUTCALLBACK
*func
) (int value
), int value
)
93 void APIENTRY
glutMenuStateFunc (void (GLUTCALLBACK
*func
) (int state
))
95 menu_state_func
= func
;
99 void APIENTRY
glutSpecialFunc (void (GLUTCALLBACK
*func
) (int key
, int x
, int y
))
105 void APIENTRY
glutSpaceballMotionFunc (void (GLUTCALLBACK
*func
) (int x
, int y
, int z
))
110 void APIENTRY
glutSpaceballRotateFunc (void (GLUTCALLBACK
*func
) (int x
, int y
, int z
))
115 void APIENTRY
glutSpaceballButtonFunc (void (GLUTCALLBACK
*func
) (int button
, int state
))
120 void APIENTRY
glutButtonBoxFunc (void (GLUTCALLBACK
*func
) (int button
, int state
))
125 void APIENTRY
glutDialsFunc (void (GLUTCALLBACK
*func
) (int dial
, int value
))
130 void APIENTRY
glutTabletMotionFunc (void (GLUTCALLBACK
*func
) (int x
, int y
))
135 void APIENTRY
glutTabletButtonFunc (void (GLUTCALLBACK
*func
) (int button
, int state
, int x
, int y
))
140 void APIENTRY
glutMenuStatusFunc (void (GLUTCALLBACK
*func
) (int status
, int x
, int y
))
145 void APIENTRY
glutOverlayDisplayFunc (void (GLUTCALLBACK
*func
) (void))
150 void APIENTRY
glutWindowStatusFunc (void (GLUTCALLBACK
*func
) (int state
))