1 #ifndef __IA_WINDOW_H__
2 #define __IA_WINDOW_H__
6 struct GLUI_RadioGroup
;
14 Window(int argc
, char** argv
, Controller
*control
);
19 void enable(const char *s
);
20 void disable(const char *s
);
24 void render_scene(void);
25 void special_keys(int key
, int x
, int y
);
26 void keyboard_func(unsigned char key
, int x
, int y
);
27 void reshape_func(int width
, int height
);
28 void mouse_func(int button
, int state
, int x
, int y
);
29 void timer_func(int key
);
30 void control_func(int id
);
36 void draw_circle(int x
, int y
, int color
);
37 void draw_square(int x
, int y
, int color
);
39 int _window_id
, _first_move
, _computer_color
, _minimax_depth
, _width
, _height
;
41 GLUI_RadioGroup
*_RadioGroup_firstMove
, *_RadioGroup_computerColor
;
42 GLUI_Spinner
*_Spinner_minimax
;
43 GLUI_Button
*_Button_start
, *_Button_stop
, *_Button_undo
, *_Button_redo
;