diff src/mbaf/animated_menu.c @ 1023:dffecd62817c refine_backend_if

Use mb_timer_man_t instead of mb_tman_t in mbaf
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 22 Nov 2010 15:27:40 +0800
parents 152bc503dc99
children 1993e5ae60aa
line wrap: on
line diff
--- a/src/mbaf/animated_menu.c	Mon Nov 22 15:20:11 2010 +0800
+++ b/src/mbaf/animated_menu.c	Mon Nov 22 15:27:40 2010 +0800
@@ -108,7 +108,7 @@
     mb_progm_free_completed(progm);
     m->ready--;
     subject_add_observer(mb_progm_get_complete(progm), mb_animated_menu_complete,m);
-    mb_progm_start(progm, X_MB_tman(MBAF_RDMAN(m->app)->rt), &now);
+    mb_progm_start(progm, mb_runtime_timer_man(MBAF_RDMAN(m->app)->rt), &now);
     rdman_redraw_changed(MBAF_RDMAN(m->app));
     tmp = m->items[8];
     for(i=8;i>0;i--) {
@@ -158,7 +158,7 @@
     mb_progm_free_completed(progm);
     m->ready--;
     subject_add_observer(mb_progm_get_complete(progm), mb_animated_menu_complete,m);
-    mb_progm_start(progm, X_MB_tman(MBAF_RDMAN(m->app)->rt), &now);
+    mb_progm_start(progm, mb_runtime_timer_man(MBAF_RDMAN(m->app)->rt), &now);
     rdman_redraw_changed(MBAF_RDMAN(m->app));
     tmp = m->items[0];
     for(i=0;i<8;i++) {
@@ -185,7 +185,7 @@
     mb_progm_free_completed(progm);
     m->ready--;
     subject_add_observer(mb_progm_get_complete(progm), mb_animated_menu_complete,m);
-    mb_progm_start(progm, X_MB_tman(MBAF_RDMAN(m->app)->rt), &now);
+    mb_progm_start(progm, mb_runtime_timer_man(MBAF_RDMAN(m->app)->rt), &now);
     rdman_redraw_changed(MBAF_RDMAN(m->app));
 }