# HG changeset patch # User Thinker K.F. Li # Date 1290419002 -28800 # Node ID 36a63287e1d458879d916ad57e294d96a3ff025f # Parent 71489039406b1cccefaf40570cc6d14753ebf07d Migrate examples/dynamic to new definition of backend diff -r 71489039406b -r 36a63287e1d4 examples/dynamic/main.c --- 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);