curvedraw

view src/app.h @ 1:7dcd0f6113e5

some ui and feedback stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 16 Dec 2015 04:49:16 +0200
parents 8e524989c904
children 7f795f7fecd6
line source
1 #ifndef APP_H_
2 #define APP_H_
4 extern int win_width, win_height;
5 extern float win_aspect;
7 bool app_init(int argc, char **argv);
8 void app_cleanup();
10 void app_draw();
11 void app_reshape(int x, int y);
12 void app_keyboard(int key, bool pressed);
13 void app_mouse_button(int bn, bool pressed, int x, int y);
14 void app_mouse_motion(int x, int y);
16 void post_redisplay(); // in main.cc
18 #endif // APP_H_