comparison src/mbaf/mbapp.c @ 296:2e97e8082d83

* Fix the symbol definition code which does not assume the id is the same as the mbname. * Add appleTV style list demo. We need to add animation latter. It is staic for now.
author wycc
date Sun, 01 Feb 2009 16:28:28 +0800
parents 2ca0773cd48d
children 84ce2d4a8c3f
comparison
equal deleted inserted replaced
295:2469f8d23658 296:2e97e8082d83
7 7
8 rt = X_MB_new(":0.0", 800, 600); 8 rt = X_MB_new(":0.0", 800, 600);
9 9
10 app->rt = rt; 10 app->rt = rt;
11 app->rdman = X_MB_rdman(rt); 11 app->rdman = X_MB_rdman(rt);
12 app->kbevents = X_MB_kbevents(rt);
12 app->rootsprite= sprite_load(module,app->rdman, app->rdman->root_coord); 13 app->rootsprite= sprite_load(module,app->rdman, app->rdman->root_coord);
13 rdman_attach_backend(app->rdman, rt); 14 rdman_attach_backend(app->rdman, rt);
14 MB_SPRITE_GOTO_SCENE(app->rootsprite, 1); 15 MB_SPRITE_GOTO_SCENE(app->rootsprite, 1);
15 return app; 16 return app;
16 } 17 }