Mercurial > MadButterfly
diff include/mb_af.h @ 993:5b58e74988bc refine_backend_if
Use mb_backend_t::new instead of mb_backend_t::init
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Mon, 22 Nov 2010 00:42:29 +0800 |
parents | 586e50f82c1f |
children | 5d9def42df12 |
line wrap: on
line diff
--- a/include/mb_af.h Mon Nov 22 00:42:29 2010 +0800 +++ b/include/mb_af.h Mon Nov 22 00:42:29 2010 +0800 @@ -3,9 +3,11 @@ #ifndef __APP_H #define __APP_H +#include "mb_backend.h" + typedef struct _mbapp mbaf_t; struct _mbapp { - void *rt; + mb_rt_t *rt; redraw_man_t *rdman; mb_sprite_t *rootsprite; mb_obj_t *root;