curvedraw
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef APP_H_ |
nuclear@0 | 2 #define APP_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 bool app_init(int argc, char **argv); |
nuclear@0 | 5 void app_cleanup(); |
nuclear@0 | 6 |
nuclear@0 | 7 void app_draw(); |
nuclear@0 | 8 void app_reshape(int x, int y); |
nuclear@0 | 9 void app_keyboard(int key, bool pressed); |
nuclear@0 | 10 void app_mouse_button(int bn, bool pressed, int x, int y); |
nuclear@0 | 11 void app_mouse_motion(int x, int y); |
nuclear@0 | 12 |
nuclear@0 | 13 void post_redisplay(); // in main.cc |
nuclear@0 | 14 |
nuclear@0 | 15 #endif // APP_H_ |