fbee

view src/fbeeimpl.h @ 0:88a2049be27b

fbee initial
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 05 Feb 2013 13:40:36 +0200
parents
children
line source
1 #ifndef FBEEIMPL_H_
2 #define FBEEIMPL_H_
4 struct closure {
5 void (*func)();
6 void *cls;
7 };
9 /* functions implemented by each graphics system module */
10 int fbee_sys_init(void);
11 void fbee_sys_destroy(void);
12 int fbee_sys_set_video(int width, int height, int bpp, unsigned int flags);
13 int fbee_sys_get_video(int *width, int *height, int *bpp);
14 int fbee_sys_process_events(void);
15 void fbee_sys_evloop(void);
16 void *fbee_sys_framebuffer(void);
17 void fbee_sys_update(void *img);
19 struct closure *fbee_get_callback(int evtype);
21 #endif /* FBEEIMPL_H_ */