Mercurial > MadButterfly
comparison include/mb_X_supp.h @ 1067:7b4e80ab671a openvg
merge from default branch
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 01 Dec 2010 12:25:56 +0800 |
parents | 7b503c7ed46f |
children | 1993e5ae60aa |
comparison
equal
deleted
inserted
replaced
630:bd18951b51d5 | 1067:7b4e80ab671a |
---|---|
1 // -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*- | |
2 // vim: sw=4:ts=8:sts=4 | |
1 #ifndef __X_SUPP_H_ | 3 #ifndef __X_SUPP_H_ |
2 #define __X_SUPP_H_ | 4 #define __X_SUPP_H_ |
3 | 5 |
4 #include <X11/Xlib.h> | 6 #include <X11/Xlib.h> |
5 #include "mb_types.h" | 7 #include "mb_types.h" |
19 }; | 21 }; |
20 typedef struct _X_kb_event X_kb_event_t; | 22 typedef struct _X_kb_event X_kb_event_t; |
21 | 23 |
22 /* @} */ | 24 /* @} */ |
23 | 25 |
24 typedef struct _X_MB_runtime X_MB_runtime_t; | 26 typedef struct _X_supp_runtime X_supp_runtime_t; |
25 | 27 |
26 extern void X_MB_handle_connection(void *rt); | 28 typedef Window MB_WINDOW; |
27 extern void *X_MB_new(const char *display_name, int w, int h); | 29 typedef Display *MB_DISPLAY; |
28 extern void X_MB_free(void *xmb_rt); | |
29 | |
30 extern subject_t *X_MB_kbevents(void *xmb_rt); | |
31 extern redraw_man_t *X_MB_rdman(void *xmb_rt); | |
32 extern mb_tman_t *X_MB_tman(void *xmb_rt); | |
33 extern ob_factory_t *X_MB_ob_factory(void *xmb_rt); | |
34 extern mb_img_ldr_t *X_MB_img_ldr(void *xmb_rt); | |
35 | 30 |
36 #endif | 31 #endif |