par_rast

diff src/app.h @ 0:11f024648101

initial
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 22 Mar 2016 00:55:07 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/app.h	Tue Mar 22 00:55:07 2016 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +#ifndef APP_H_
     1.5 +#define APP_H_
     1.6 +
     1.7 +void *fb_pixels;
     1.8 +int fb_width, fb_height;
     1.9 +
    1.10 +int app_init(void);
    1.11 +void app_cleanup(void);
    1.12 +
    1.13 +void app_draw(void);
    1.14 +void app_keyboard(int key, int pressed);
    1.15 +
    1.16 +/* stuff defined in main_sdl.c */
    1.17 +void app_quit(void);
    1.18 +
    1.19 +#endif	/* APP_H_ */