Mercurial > MadButterfly
comparison include/mb_X_supp.h @ 1048:f26c4b621ec0
MErge head
author | wycc |
---|---|
date | Tue, 23 Nov 2010 23:55:24 +0800 |
parents | 7b503c7ed46f |
children | 1993e5ae60aa |
comparison
equal
deleted
inserted
replaced
1047:4072a302b207 | 1048:f26c4b621ec0 |
---|---|
21 }; | 21 }; |
22 typedef struct _X_kb_event X_kb_event_t; | 22 typedef struct _X_kb_event X_kb_event_t; |
23 | 23 |
24 /* @} */ | 24 /* @} */ |
25 | 25 |
26 typedef struct _X_MB_runtime X_MB_runtime_t; | 26 typedef struct _X_supp_runtime X_supp_runtime_t; |
27 | 27 |
28 extern void X_MB_handle_connection(void *rt); | 28 typedef Window MB_WINDOW; |
29 extern void *X_MB_new(const char *display_name, int w, int h); | 29 typedef Display *MB_DISPLAY; |
30 extern void *X_MB_new_with_win(Display *display, Window win); | |
31 extern void X_MB_free(void *xmb_rt); | |
32 extern void X_MB_free_keep_win(void *rt); | |
33 | |
34 extern subject_t *X_MB_kbevents(void *xmb_rt); | |
35 extern redraw_man_t *X_MB_rdman(void *xmb_rt); | |
36 extern mb_tman_t *X_MB_tman(void *xmb_rt); | |
37 extern ob_factory_t *X_MB_ob_factory(void *xmb_rt); | |
38 extern mb_img_ldr_t *X_MB_img_ldr(void *xmb_rt); | |
39 | 30 |
40 #endif | 31 #endif |