comparison include/mb_dfb_supp.h @ 905:e3a5e05f00c1

Roughly DirectFB backend porting.
author Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
date Sun, 03 Oct 2010 18:12:11 +0800
parents include/mb_X_supp.h@512204bcafba
children e415c55b4a0d
comparison
equal deleted inserted replaced
904:f838e5207ec4 905:e3a5e05f00c1
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 ob_factory_t *X_MB_ob_factory(void *xmb_rt);
36 extern mb_img_ldr_t *X_MB_img_ldr(void *xmb_rt);
37
38 #endif