Mercurial > MadButterfly
comparison include/mb_X_supp.h @ 186:530bb7728546 include_mb_test
Move header files to $(top_srcdir)/include/ and prefixed with 'mb_'.
This is the solution that I dicussed with FourDollars, last night.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 05 Nov 2008 15:24:01 +0800 |
parents | include/mb/X_supp.h@c7e5b8779bb5 |
children | e8a784a306d0 |
comparison
equal
deleted
inserted
replaced
185:c7e5b8779bb5 | 186:530bb7728546 |
---|---|
1 #ifndef __X_SUPP_H_ | |
2 #define __X_SUPP_H_ | |
3 | |
4 #include <X11/Xlib.h> | |
5 #include "mb_types.h" | |
6 #include "mb_timer.h" | |
7 #include "mb_redraw_man.h" | |
8 | |
9 /*! \ingroup xkb | |
10 * @{ | |
11 */ | |
12 typedef struct _X_kb_info X_kb_info_t; | |
13 | |
14 struct _X_kb_event { | |
15 event_t event; | |
16 int keycode; | |
17 int sym; | |
18 }; | |
19 typedef struct _X_kb_event X_kb_event_t; | |
20 | |
21 /* @} */ | |
22 | |
23 typedef struct _X_MB_runtime X_MB_runtime_t; | |
24 | |
25 extern void X_MB_handle_connection(X_MB_runtime_t *rt); | |
26 extern X_MB_runtime_t *X_MB_new(const char *display_name, int w, int h); | |
27 extern void X_MB_free(X_MB_runtime_t *xmb_rt); | |
28 | |
29 extern subject_t *X_MB_kbevents(X_MB_runtime_t *xmb_rt); | |
30 extern redraw_man_t *X_MB_rdman(X_MB_runtime_t *xmb_rt); | |
31 extern mb_tman_t *X_MB_tman(X_MB_runtime_t *xmb_rt); | |
32 extern ob_factory_t *X_MB_ob_factory(X_MB_runtime_t *xmb_rt); | |
33 | |
34 #endif |