comparison include/mb_redraw_man.h @ 757:f43224bf3524

Remove unused variables and refactor to X_MB_init_with_win
author Thinker K.F. Li <thinker@codemud.net>
date Thu, 26 Aug 2010 17:54:11 +0800
parents cbad519226d4
children 586e50f82c1f
comparison
equal deleted inserted replaced
756:cceac4ba259e 757:f43224bf3524
248 * - image loader(?) 248 * - image loader(?)
249 * - render manager(?) 249 * - render manager(?)
250 */ 250 */
251 typedef struct { 251 typedef struct {
252 252
253 void *(*init)(char *display,int w,int h); 253 void *(*init)(const char *display,int w,int h);
254 void (*free)(void *be); 254 void (*free)(void *be);
255 void (*add_event)(void *be,int type, int fd, mb_eventcb_t f,void *arg); 255 void (*add_event)(void *be,int type, int fd, mb_eventcb_t f,void *arg);
256 void (*remove_event)(void *be,int type, int fd); 256 void (*remove_event)(void *be,int type, int fd);
257 void (*loop)(void *be); 257 void (*loop)(void *be);
258 subject_t *(*kbevents)(void *be); 258 subject_t *(*kbevents)(void *be);