changeset 1030:36a63287e1d4 refine_backend_if

Migrate examples/dynamic to new definition of backend
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 22 Nov 2010 17:43:22 +0800
parents 71489039406b
children a79118734d20
files examples/dynamic/main.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/examples/dynamic/main.c	Mon Nov 22 17:20:49 2010 +0800
+++ b/examples/dynamic/main.c	Mon Nov 22 17:43:22 2010 +0800
@@ -109,7 +109,7 @@
     get_now(&timer);
     MB_TIMEVAL_SET(&interval, 1 ,0);
     MB_TIMEVAL_ADD(&timer, &interval);
-    mb_tman_timeout( mbaf_get_timer(app), &timer, switch_scene, app);
+    mb_timer_man_timeout( mbaf_get_timer(app), &timer, switch_scene, app);
 
     en->currentscene = (en->currentscene + 1) % 2;
     printf("switch to scene %d\n", en->currentscene + 1);
@@ -147,7 +147,7 @@
     MyApp_InitContent();
     get_now(&tmo);
     MB_TIMEVAL_SET(&interval, 1 ,0);
-    mb_tman_timeout( mbaf_get_timer(app), &tmo, switch_scene, app);
+    mb_timer_man_timeout( mbaf_get_timer(app), &tmo, switch_scene, app);
     
 
     mbaf_loop(app);