Mercurial > MadButterfly
changeset 491:4291f16f3a09 Android_Skia
Remove rdman_paint_main()
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 23 Nov 2009 18:52:30 +0800 |
parents | 5d0b2761f89c |
children | e95598916dfb |
files | include/mb_redraw_man.h src/redraw_man.c |
diffstat | 2 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/include/mb_redraw_man.h Mon Nov 23 18:04:22 2009 +0800 +++ b/include/mb_redraw_man.h Mon Nov 23 18:52:30 2009 +0800 @@ -109,8 +109,6 @@ } while(0) extern int rdman_shape_free(redraw_man_t *rdman, shape_t *shape); -#define rdman_paint_man(rdman, paint) \ - STAILQ_INS_TAIL(rdman->paints, paint_t, pnt_next, shape) extern int rdman_paint_free(redraw_man_t *rdman, paint_t *paint); extern coord_t *rdman_coord_new(redraw_man_t *rdman, coord_t *parent);
--- a/src/redraw_man.c Mon Nov 23 18:04:22 2009 +0800 +++ b/src/redraw_man.c Mon Nov 23 18:52:30 2009 +0800 @@ -370,8 +370,6 @@ (member) = STAILQ_NEXT(paint_t, next, member)) #define RM_PAINTMEMBER(paint, member) \ STAILQ_REMOVE((paint)->members, shnode_t, next, member) -#define RM_PAINT(rdman, paint) \ - STAILQ_REMOVE((rdman)->paints, paint_t, pnt_next, paint) /*! \brief Sort a list of element by a unsigned integer. * @@ -663,7 +661,6 @@ rdman->backend = backend; STAILQ_INIT(rdman->shapes); - STAILQ_INIT(rdman->paints); /* \note To make root coord always have at leat one observer. * It triggers mouse interpreter to be installed on root. @@ -919,7 +916,6 @@ shnode_free(rdman, saved_shnode); } - RM_PAINT(rdman, paint); paint->free(rdman, paint); return OK; }