nuclear@0: #ifndef APP_H_ nuclear@0: #define APP_H_ nuclear@0: nuclear@1: extern int win_width, win_height; nuclear@1: extern float win_aspect; nuclear@1: nuclear@0: bool app_init(int argc, char **argv); nuclear@0: void app_cleanup(); nuclear@0: nuclear@0: void app_draw(); nuclear@0: void app_reshape(int x, int y); nuclear@0: void app_keyboard(int key, bool pressed); nuclear@0: void app_mouse_button(int bn, bool pressed, int x, int y); nuclear@0: void app_mouse_motion(int x, int y); nuclear@0: nuclear@0: void post_redisplay(); // in main.cc nuclear@0: nuclear@0: #endif // APP_H_