Mercurial > MadButterfly
diff include/mb_X_supp.h @ 1044:5d4bc2a93c09
Merge from refine_backend_if branch
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 23 Nov 2010 11:58:04 +0800 |
parents | 7b503c7ed46f |
children | 1993e5ae60aa |
line wrap: on
line diff
--- a/include/mb_X_supp.h Tue Nov 23 08:04:09 2010 +0800 +++ b/include/mb_X_supp.h Tue Nov 23 11:58:04 2010 +0800 @@ -23,18 +23,9 @@ /* @} */ -typedef struct _X_MB_runtime X_MB_runtime_t; +typedef struct _X_supp_runtime X_supp_runtime_t; -extern void X_MB_handle_connection(void *rt); -extern void *X_MB_new(const char *display_name, int w, int h); -extern void *X_MB_new_with_win(Display *display, Window win); -extern void X_MB_free(void *xmb_rt); -extern void X_MB_free_keep_win(void *rt); - -extern subject_t *X_MB_kbevents(void *xmb_rt); -extern redraw_man_t *X_MB_rdman(void *xmb_rt); -extern mb_tman_t *X_MB_tman(void *xmb_rt); -extern ob_factory_t *X_MB_ob_factory(void *xmb_rt); -extern mb_img_ldr_t *X_MB_img_ldr(void *xmb_rt); +typedef Window MB_WINDOW; +typedef Display *MB_DISPLAY; #endif