Mercurial > MadButterfly
diff include/mb_animate.h @ 194:45d9a1e2764d
Add mb_subtree_free animate action and fix bugs.
- Free members of a coord in rdman_coord_subtree_free().
- Fix core dump issue of subject_notify() that can not free subjects well.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 19 Nov 2008 20:53:40 +0800 |
parents | 54fdc2a65242 |
children | 586e50f82c1f |
line wrap: on
line diff
--- a/include/mb_animate.h Wed Nov 19 11:26:01 2008 +0800 +++ b/include/mb_animate.h Wed Nov 19 20:53:40 2008 +0800 @@ -56,6 +56,8 @@ paint_t *paint, mb_word_t *word); extern mb_action_t *mb_rotate_new(float angle1, float angle2, coord_t *coord, mb_word_t *word); +extern mb_action_t *mb_subtree_free_new(coord_t *coord, + mb_word_t *word); enum { VIS_VISIBLE, VIS_HIDDEN }; extern mb_action_t *mb_visibility_new(int visib, coord_t *coord,