Mercurial > MadButterfly
diff src/mb_types.h @ 16:e17e12b112c4
A simple animation using rdman_redraw_changed().
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 01 Aug 2008 18:20:28 +0800 |
parents | c2ce186a5c37 |
children | 41f0907b27ac |
line wrap: on
line diff
--- a/src/mb_types.h Fri Aug 01 01:40:07 2008 +0800 +++ b/src/mb_types.h Fri Aug 01 18:20:28 2008 +0800 @@ -16,7 +16,9 @@ /*! \brief Geometry data of a shape or a group of shape. */ struct _geo { +#ifdef GEO_ORDER unsigned int order; +#endif unsigned int flags; shape_t *shape; geo_t *next; /*!< \brief Link all geo objects. */ @@ -71,6 +73,7 @@ extern void coord_init(coord_t *co, coord_t *parent); extern void coord_trans_pos(coord_t *co, co_aix *x, co_aix *y); +extern void compute_aggr_of_coord(coord_t *coord); extern void update_aggr_matrix(coord_t *start); extern coord_t *preorder_coord_subtree(coord_t *root, coord_t *last);