Mercurial > MadButterfly
diff src/redraw_man.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 | 0f3baa488a62 |
line wrap: on
line diff
--- a/src/redraw_man.h Fri Aug 01 01:40:07 2008 +0800 +++ b/src/redraw_man.h Fri Aug 01 18:20:28 2008 +0800 @@ -21,7 +21,9 @@ * object been recomputed or when a geo_t objects been redrawed. */ typedef struct _redraw_man { +#ifdef GEO_ORDER unsigned int next_geo_order; +#endif int n_geos; STAILQ(geo_t) all_geos; @@ -58,6 +60,7 @@ extern coord_t *rdman_coord_new(redraw_man_t *rdman, coord_t *parent); extern int rdman_coord_free(redraw_man_t *rdman, coord_t *coord); extern int rdman_coord_changed(redraw_man_t *rdman, coord_t *coord); +extern int rdman_shape_changed(redraw_man_t *rdman, shape_t *shape); extern int rdman_redraw_changed(redraw_man_t *rdman); extern int rdman_redraw_all(redraw_man_t *rdman);