381fbe965f2f229ad5c863bc4342e86aa5b7d40c
[demo_prior] / src / demo.h
1 #ifndef DEMO_H_
2 #define DEMO_H_
3
4 extern int win_width, win_height;
5 extern long time_msec;
6
7
8 int demo_init(void);
9 void demo_cleanup(void);
10
11 void demo_display(void);
12 void demo_reshape(int x, int y);
13
14 void demo_keyboard(int key, int st);
15 void demo_mbutton(int bn, int st, int x, int y);
16 void demo_mmotion(int x, int y);
17
18 void demo_sball_motion(int x, int y, int z);
19 void demo_sball_rotate(int x, int y, int z);
20 void demo_sball_button(int bn, int st);
21
22 void demo_quit(void);
23
24 #endif  /* DEMO_H_ */