# HG changeset patch # User Thinker K.F. Li # Date 1290410860 -28800 # Node ID dffecd62817c3d37b380b51cfffd701d5abd6ee9 # Parent 84006acab6af89f94b052a2c2ea9af9b5112c66c Use mb_timer_man_t instead of mb_tman_t in mbaf diff -r 84006acab6af -r dffecd62817c src/mbaf/animated_menu.c --- 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)); } diff -r 84006acab6af -r dffecd62817c src/mbaf/mbbutton.c --- a/src/mbaf/mbbutton.c Mon Nov 22 15:20:11 2010 +0800 +++ b/src/mbaf/mbbutton.c Mon Nov 22 15:27:40 2010 +0800 @@ -93,7 +93,7 @@ subject_add_observer(mb_progm_get_complete(btn->progm), mb_button_end_animated_cb,btn); get_now(&now); printf("rt = %x\n", btn->rdman->rt); - mb_progm_start(progm, X_MB_tman(btn->rdman->rt), &now); + mb_progm_start(progm, mb_runtime_timer_man(btn->rdman->rt), &now); if (btn->press) btn->press(btn->arg); }