Mercurial > MadButterfly
comparison include/mb_dfb_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 | e415c55b4a0d |
children |
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 | |
3 #ifndef __DFB_SUPP_H_ | |
4 #define __DFB_SUPP_H_ | |
5 | |
6 #include "mb_types.h" | |
7 #include "mb_timer.h" | |
8 #include "mb_redraw_man.h" | |
9 #include "mb_img_ldr.h" | |
10 | |
11 /*! \ingroup xkb | |
12 * @{ | |
13 */ | |
14 typedef struct _X_kb_info X_kb_info_t; | |
15 | |
16 struct _X_kb_event { | |
17 event_t event; | |
18 int keycode; | |
19 int sym; | |
20 }; | |
21 typedef struct _X_kb_event X_kb_event_t; | |
22 | |
23 /* @} */ | |
24 | |
25 typedef struct _X_MB_runtime X_MB_runtime_t; | |
26 | |
27 extern void X_MB_handle_connection(void *rt); | |
28 extern void *X_MB_new(const char *display_name, int w, int h); | |
29 extern void X_MB_free(void *xmb_rt); | |
30 extern void X_MB_free_keep_win(void *rt); | |
31 | |
32 extern subject_t *X_MB_kbevents(void *xmb_rt); | |
33 extern redraw_man_t *X_MB_rdman(void *xmb_rt); | |
34 extern mb_tman_t *X_MB_tman(void *xmb_rt); | |
35 extern observer_factory_t *X_MB_observer_factory(void *xmb_rt); | |
36 extern mb_img_ldr_t *X_MB_img_ldr(void *xmb_rt); | |
37 | |
38 #endif |