- added libdrawtext
[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
12 int demo_init(void);
13 void demo_cleanup(void);
14
15 void demo_display(void);
16 void demo_reshape(int x, int y);
17
18 void demo_keyboard(int key, int st);
19 void demo_mbutton(int bn, int st, int x, int y);
20 void demo_mmotion(int x, int y);
21
22 void demo_sball_motion(int x, int y, int z);
23 void demo_sball_rotate(int x, int y, int z);
24 void demo_sball_button(int bn, int st);
25
26 void demo_quit(void);
27
28 #endif  /* DEMO_H_ */