fixed incorrect checking of the existence of GLX_EXT_swap_control and friends
[demo_prior] / src / demo.h
1 #ifndef DEMO_H_
2 #define DEMO_H_
3
4 extern int win_width, win_height;
5 extern float win_aspect;
6 extern long time_msec;
7
8 extern struct dtx_font *fnt_ui;
9 extern int fnt_ui_size;
10
11 extern int dbgui;
12
13
14 int demo_init(void);
15 void demo_cleanup(void);
16
17 void demo_display(void);
18 void demo_reshape(int x, int y);
19
20 void demo_keyboard(int key, int st);
21 void demo_mbutton(int bn, int st, int x, int y);
22 void demo_mmotion(int x, int y);
23
24 void demo_sball_motion(int x, int y, int z);
25 void demo_sball_rotate(int x, int y, int z);
26 void demo_sball_button(int bn, int st);
27
28 void demo_quit(void);
29
30 #endif  /* DEMO_H_ */