nuclear@0: #ifndef FBEEIMPL_H_ nuclear@0: #define FBEEIMPL_H_ nuclear@0: nuclear@0: struct closure { nuclear@0: void (*func)(); nuclear@0: void *cls; nuclear@0: }; nuclear@0: nuclear@0: /* functions implemented by each graphics system module */ nuclear@0: int fbee_sys_init(void); nuclear@0: void fbee_sys_destroy(void); nuclear@0: int fbee_sys_set_video(int width, int height, int bpp, unsigned int flags); nuclear@0: int fbee_sys_get_video(int *width, int *height, int *bpp); nuclear@0: int fbee_sys_process_events(void); nuclear@0: void fbee_sys_evloop(void); nuclear@0: void *fbee_sys_framebuffer(void); nuclear@0: void fbee_sys_update(void *img); nuclear@0: nuclear@0: struct closure *fbee_get_callback(int evtype); nuclear@0: nuclear@0: #endif /* FBEEIMPL_H_ */