1 /*
2     OpenUniverse 1.0
3     Copyright (C) 2000  Raul Alonso <amil@las.es>
4 
5     This program is free software; you can redistribute it and/or modify
6     it under the terms of the GNU General Public License as published by
7     the Free Software Foundation; either version 2 of the License, or
8     (at your option) any later version.
9 
10     This program is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13     GNU General Public License for more details.
14 
15     You should have received a copy of the GNU General Public License
16     along with this program; if not, write to the Free Software
17     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 
20 #ifdef HAVE_GLUI
21 
22 #include "glui.h"
23 #include "arcball.h"
24 #include "quaternion.h"
25 
26 #define OPT_OPEN	100
27 #define OPT_HIDE	101
28 #define CAM_NEAR	103
29 #define CAM_CMODE	104
30 #define CAM_SOURCE	105
31 #define CAM_TARGET	106
32 #define GUI_HIDE	107
33 #define OPT_STARMAG	108
34 #define GUI_QUIT        110
35 #define CAM_FOLLOW      112
36 #define CAM_HEADING     113
37 #define CAM_ROLL        114
38 #define TRAILS_OPEN	115
39 #define TRAILS_HIDE	116
40 
41 
42 extern GLUI *glui_rwin, *glui_bwin, *glui_optwin;
43 extern GLUI_Listbox *list_source, *list_target;
44 extern GLUI_Rotation *head_rot, *roll_rot;
45 extern GLUI_Panel *control_panel;
46 extern GLUI_Checkbox *glui_follow;
47 extern GLUI_RadioGroup *radio;
48 extern int fullscreeninGUI, rebuildStarsDL;
49 
50 void glui_callback(int);
51 void update_cmode(void);
52 
53 #endif
54 
55 void GUI_Viewport(int *, int *);
56 void GUI_Init(void);
57