initial commit
[vktest3] / src / app.h
1 #ifndef APP_H_
2 #define APP_H_
3
4 enum {
5         KEY_DEL = 127,
6         KEY_HOME, KEY_END,
7         KEY_PGUP, KEY_PGDOWN
8 };
9
10 int app_init(void);
11 void app_cleanup(void);
12
13 void app_display(void);
14 void app_reshape(int x, int y);
15 void app_keyboard(int key, int press);
16 void app_mouse(int bn, int press, int x, int y);
17 void app_motion(int x, int y);
18
19 void app_quit(void);
20 void app_swap_buffers(void);
21
22 #endif  /* APP_H_ */