curvedraw

view src/app.h @ 12:84a647283237

added all the extra functionality to the curve class first pass at a project-to-curve function (needs more work)
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 20 Dec 2015 07:21:32 +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_