curvedraw
diff src/app.h @ 0:8e524989c904
getting there
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 15 Dec 2015 07:15:53 +0200 |
parents | |
children | 7dcd0f6113e5 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/app.h Tue Dec 15 07:15:53 2015 +0200 1.3 @@ -0,0 +1,15 @@ 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 +void app_reshape(int x, int y); 1.12 +void app_keyboard(int key, bool pressed); 1.13 +void app_mouse_button(int bn, bool pressed, int x, int y); 1.14 +void app_mouse_motion(int x, int y); 1.15 + 1.16 +void post_redisplay(); // in main.cc 1.17 + 1.18 +#endif // APP_H_