comparison 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
comparison
equal deleted inserted replaced
992:2cbe3721dc9a 993:5b58e74988bc
1 // -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*- 1 // -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*-
2 // vim: sw=4:ts=8:sts=4 2 // vim: sw=4:ts=8:sts=4
3 #ifndef __APP_H 3 #ifndef __APP_H
4 #define __APP_H 4 #define __APP_H
5 5
6 #include "mb_backend.h"
7
6 typedef struct _mbapp mbaf_t; 8 typedef struct _mbapp mbaf_t;
7 struct _mbapp { 9 struct _mbapp {
8 void *rt; 10 mb_rt_t *rt;
9 redraw_man_t *rdman; 11 redraw_man_t *rdman;
10 mb_sprite_t *rootsprite; 12 mb_sprite_t *rootsprite;
11 mb_obj_t *root; 13 mb_obj_t *root;
12 subject_t *kbevents; 14 subject_t *kbevents;
13 void *private; 15 void *private;