Mercurial > MadButterfly
comparison src/redraw_man.c @ 23:56f592f56ff7
Fix bug and add linear gradient paint.
- fix the bug that forget to clear n_dirty_geos in rdman_redraw_all().
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 02 Aug 2008 23:10:42 +0800 |
parents | 8fcf2d878ecd |
children | e598bc809c0f |
comparison
equal
deleted
inserted
replaced
22:8fcf2d878ecd | 23:56f592f56ff7 |
---|---|
637 geo = STAILQ_NEXT(geo_t, next, geo)) { | 637 geo = STAILQ_NEXT(geo_t, next, geo)) { |
638 if(geo->flags & GEF_DIRTY) | 638 if(geo->flags & GEF_DIRTY) |
639 clean_shape(geo->shape); | 639 clean_shape(geo->shape); |
640 draw_shape(rdman, geo->shape); | 640 draw_shape(rdman, geo->shape); |
641 } | 641 } |
642 rdman->n_dirty_geos = 0; | |
642 | 643 |
643 return OK; | 644 return OK; |
644 } | 645 } |
645 | 646 |
646 shnode_t *shnode_new(redraw_man_t *rdman, shape_t *shape) { | 647 shnode_t *shnode_new(redraw_man_t *rdman, shape_t *shape) { |