Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
193:923d91dfb6af | 194:45d9a1e2764d |
---|---|
54 extern mb_action_t *mb_chgcolor_new(co_comp_t r, co_comp_t g, | 54 extern mb_action_t *mb_chgcolor_new(co_comp_t r, co_comp_t g, |
55 co_comp_t b, co_comp_t a, | 55 co_comp_t b, co_comp_t a, |
56 paint_t *paint, mb_word_t *word); | 56 paint_t *paint, mb_word_t *word); |
57 extern mb_action_t *mb_rotate_new(float angle1, float angle2, | 57 extern mb_action_t *mb_rotate_new(float angle1, float angle2, |
58 coord_t *coord, mb_word_t *word); | 58 coord_t *coord, mb_word_t *word); |
59 extern mb_action_t *mb_subtree_free_new(coord_t *coord, | |
60 mb_word_t *word); | |
59 | 61 |
60 enum { VIS_VISIBLE, VIS_HIDDEN }; | 62 enum { VIS_VISIBLE, VIS_HIDDEN }; |
61 extern mb_action_t *mb_visibility_new(int visib, coord_t *coord, | 63 extern mb_action_t *mb_visibility_new(int visib, coord_t *coord, |
62 mb_word_t *word); | 64 mb_word_t *word); |
63 /* @} */ | 65 /* @} */ |