diff src/animate.h @ 47:f3818d996f4f

change interface of creating a animation action
author Thinker K.F. Li <thinker@branda.to>
date Sat, 09 Aug 2008 16:41:33 +0800
parents e3295c07faa9
children 59a295651480
line wrap: on
line diff
--- a/src/animate.h	Sat Aug 09 16:33:33 2008 +0800
+++ b/src/animate.h	Sat Aug 09 16:41:33 2008 +0800
@@ -14,11 +14,11 @@
 extern mb_word_t *mb_progm_next_word(mb_progm_t *progm,
 				     const mb_timeval_t *start,
 				     const mb_timeval_t *playing);
-extern void mb_word_add_action(mb_word_t *word, mb_action_t *act);
 extern void mb_progm_start(mb_progm_t *progm, mb_tman_t *tman,
 			   mb_timeval_t *now);
 extern void mb_progm_abort(mb_progm_t *progm, mb_tman_t *tman);
-extern mb_action_t *mb_shift_new(co_aix x, co_aix y, coord_t *coord);
+extern mb_action_t *mb_shift_new(co_aix x, co_aix y, coord_t *coord,
+				 mb_word_t *word);
 
 
 #endif /* __ANIMATE_H_ */