Mercurial > MadButterfly
view include/mb_X_supp.h @ 257:50d253d0fcba
Simple image loader and image shape.
- img_ldr.c is a simple image loader that rooted on a directory
specified when a loader instance been created.
- sh_image_t is corresponding shape of image tag in SVG.
- This changeset is still buggy. It need more testing.
- svg2code.py is not ready for image tag.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 15 Jan 2009 16:46:47 +0800 |
parents | 530bb7728546 |
children | e8a784a306d0 |
line wrap: on
line source
#ifndef __X_SUPP_H_ #define __X_SUPP_H_ #include <X11/Xlib.h> #include "mb_types.h" #include "mb_timer.h" #include "mb_redraw_man.h" /*! \ingroup xkb * @{ */ typedef struct _X_kb_info X_kb_info_t; struct _X_kb_event { event_t event; int keycode; int sym; }; typedef struct _X_kb_event X_kb_event_t; /* @} */ typedef struct _X_MB_runtime X_MB_runtime_t; extern void X_MB_handle_connection(X_MB_runtime_t *rt); extern X_MB_runtime_t *X_MB_new(const char *display_name, int w, int h); extern void X_MB_free(X_MB_runtime_t *xmb_rt); extern subject_t *X_MB_kbevents(X_MB_runtime_t *xmb_rt); extern redraw_man_t *X_MB_rdman(X_MB_runtime_t *xmb_rt); extern mb_tman_t *X_MB_tman(X_MB_runtime_t *xmb_rt); extern ob_factory_t *X_MB_ob_factory(X_MB_runtime_t *xmb_rt); #endif