cubemapper
diff src/app.h @ 0:8fc9e1d3aad2
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 27 Jul 2017 20:36:12 +0300 |
parents | |
children | d7a29cb7ac8d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/app.h Thu Jul 27 20:36:12 2017 +0300 1.3 @@ -0,0 +1,19 @@ 1.4 +#ifndef APP_H_ 1.5 +#define APP_H_ 1.6 + 1.7 +bool app_init(int argc, char **argv); 1.8 +void app_cleanup(); 1.9 + 1.10 +void app_draw(); 1.11 + 1.12 +void app_reshape(int x, int y); 1.13 +void app_keyboard(int key, bool press); 1.14 +void app_mouse_button(int bn, bool press, int x, int y); 1.15 +void app_mouse_motion(int x, int y); 1.16 + 1.17 +// functions implemented in main.cc 1.18 +void app_quit(); 1.19 +void app_redisplay(); 1.20 +void app_swap_buffers(); 1.21 + 1.22 +#endif // APP_H_