]> git.mxchange.org Git - flightgear.git/blob - Simulator/Main/GLUTkey.hxx
Initial revision
[flightgear.git] / Simulator / Main / GLUTkey.hxx
1 // GLUTkey.hxx -- handle GLUT keyboard events
2 //
3 // Written by Curtis Olson, started May 1997.
4 //
5 // Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License as
9 // published by the Free Software Foundation; either version 2 of the
10 // License, or (at your option) any later version.
11 //
12 // This program is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 // General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 //
21 // $Id$
22 // (Log is kept at end of this file)
23
24
25 #ifndef _GLUTKEY_HXX
26 #define _GLUTKEY_HXX
27
28
29 #ifndef __cplusplus                                                          
30 # error This library requires C++
31 #endif                                   
32
33
34 #ifdef HAVE_CONFIG_H
35 #  include <config.h>
36 #endif
37
38 #ifdef HAVE_WINDOWS_H
39 #  include <windows.h>                     
40 #endif
41
42 #include <GL/glut.h>
43 #include <XGL/xgl.h>
44
45
46 // Handle keyboard events
47 void GLUTkey(unsigned char k, int x, int y);
48 void GLUTspecialkey(int k, int x, int y);
49
50
51 #endif // _GLUTKEY_HXX
52
53
54 // $Log$
55 // Revision 1.1  1999/04/05 21:32:47  curt
56 // Initial revision
57 //
58 // Revision 1.4  1999/03/12 22:51:53  curt
59 // Converted to C++ style comments.
60 //
61 // Revision 1.3  1999/03/11 23:09:47  curt
62 // When "Help" is selected from the menu check to see if netscape is running.
63 // If so, command it to go to the flight gear user guide url.  Otherwise
64 // start a new version of netscape with this url.
65 //
66 // Revision 1.2  1998/04/24 00:49:18  curt
67 // Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
68 // Trying out some different option parsing code.
69 // Some code reorganization.
70 //
71 // Revision 1.1  1998/04/22 13:25:41  curt
72 // C++ - ifing the code.
73 // Starting a bit of reorganization of lighting code.
74 //
75 // Revision 1.9  1998/04/21 17:02:36  curt
76 // Prepairing for C++ integration.
77 //
78 // Revision 1.8  1998/04/03 22:09:02  curt
79 // Converting to Gnu autoconf system.
80 //
81 // Revision 1.7  1998/02/12 21:59:44  curt
82 // Incorporated code changes contributed by Charlie Hotchkiss
83 // <chotchkiss@namg.us.anritsu.com>
84 //
85 // Revision 1.6  1998/01/22 02:59:36  curt
86 // Changed #ifdef FILE_H to #ifdef _FILE_H
87 //
88 // Revision 1.5  1997/07/23 21:52:23  curt
89 // Put comments around the text after an #endif for increased portability.
90 //
91 // Revision 1.4  1997/06/02 03:40:06  curt
92 // A tiny bit more view tweaking.
93 //
94 // Revision 1.3  1997/05/31 04:13:52  curt
95 // WE CAN NOW FLY!!!
96 //
97 // Continuing work on the LaRCsim flight model integration.
98 // Added some MSFS-like keyboard input handling.
99 //
100 // Revision 1.2  1997/05/23 15:40:25  curt
101 // Added GNU copyright headers.
102 // Fog now works!
103 //
104 // Revision 1.1  1997/05/21 15:57:51  curt
105 // Renamed due to added GLUT support.
106 //
107 // Revision 1.2  1997/05/17 00:17:34  curt
108 // Trying to stub in support for standard OpenGL.
109 //
110 // Revision 1.1  1997/05/16 16:05:53  curt
111 // Initial revision.
112 //
113