]> git.mxchange.org Git - flightgear.git/blob - Main/GLUTkey.h
3b867ae0c277ad5c2df2dfb146b152ffc8af6f9a
[flightgear.git] / Main / GLUTkey.h
1 /**************************************************************************
2  * GLUTkey.h -- handle GLUT keyboard events
3  *
4  * Written by Curtis Olson, started May 1997.
5  *
6  * Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License as
10  * published by the Free Software Foundation; either version 2 of the
11  * License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  *
22  * $Id$
23  * (Log is kept at end of this file)
24  **************************************************************************/
25
26
27 #ifndef GLUTKEY_H
28 #define GLUTKEY_H
29
30
31 #ifdef GLUT
32     #include <GL/glut.h>
33 #elif TIGER
34     /* assumes -I/usr/include/mesa in compile command */
35     #include "gltk.h"
36 #endif
37
38 /* Handle keyboard events */
39 void GLUTkey(unsigned char k, int x, int y);
40 void GLUTspecialkey(int k, int x, int y);
41
42
43 #endif /* GLUTKEY_H */
44
45
46 /* $Log$
47 /* Revision 1.5  1997/07/23 21:52:23  curt
48 /* Put comments around the text after an #endif for increased portability.
49 /*
50  * Revision 1.4  1997/06/02 03:40:06  curt
51  * A tiny bit more view tweaking.
52  *
53  * Revision 1.3  1997/05/31 04:13:52  curt
54  * WE CAN NOW FLY!!!
55  *
56  * Continuing work on the LaRCsim flight model integration.
57  * Added some MSFS-like keyboard input handling.
58  *
59  * Revision 1.2  1997/05/23 15:40:25  curt
60  * Added GNU copyright headers.
61  * Fog now works!
62  *
63  * Revision 1.1  1997/05/21 15:57:51  curt
64  * Renamed due to added GLUT support.
65  *
66  * Revision 1.2  1997/05/17 00:17:34  curt
67  * Trying to stub in support for standard OpenGL.
68  *
69  * Revision 1.1  1997/05/16 16:05:53  curt
70  * Initial revision.
71  *
72  */