fbee
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef FBEEIMPL_H_ |
nuclear@0 | 2 #define FBEEIMPL_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 struct closure { |
nuclear@0 | 5 void (*func)(); |
nuclear@0 | 6 void *cls; |
nuclear@0 | 7 }; |
nuclear@0 | 8 |
nuclear@0 | 9 /* functions implemented by each graphics system module */ |
nuclear@0 | 10 int fbee_sys_init(void); |
nuclear@0 | 11 void fbee_sys_destroy(void); |
nuclear@0 | 12 int fbee_sys_set_video(int width, int height, int bpp, unsigned int flags); |
nuclear@0 | 13 int fbee_sys_get_video(int *width, int *height, int *bpp); |
nuclear@0 | 14 int fbee_sys_process_events(void); |
nuclear@0 | 15 void fbee_sys_evloop(void); |
nuclear@0 | 16 void *fbee_sys_framebuffer(void); |
nuclear@0 | 17 void fbee_sys_update(void *img); |
nuclear@0 | 18 |
nuclear@0 | 19 struct closure *fbee_get_callback(int evtype); |
nuclear@0 | 20 |
nuclear@0 | 21 #endif /* FBEEIMPL_H_ */ |