comparison include/mb_redraw_man.h @ 1059:36aef79d68e4

Move macros privated used by redraw manager to redraw_man.c
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 28 Nov 2010 12:07:37 +0800
parents 1f93f38688c2
children e415c55b4a0d
comparison
equal deleted inserted replaced
1058:3a03b0953e22 1059:36aef79d68e4
229 rdman_add_gen_geos(rdman, sh_get_geo(shape)) 229 rdman_add_gen_geos(rdman, sh_get_geo(shape))
230 #define rdman_shape_gl_len(rdman) \ 230 #define rdman_shape_gl_len(rdman) \
231 rdman_get_gen_geos(rdman)->num 231 rdman_get_gen_geos(rdman)->num
232 #define rdman_clear_shape_gl(rdman) \ 232 #define rdman_clear_shape_gl(rdman) \
233 DARRAY_CLEAN(rdman_get_gen_geos(rdman)) 233 DARRAY_CLEAN(rdman_get_gen_geos(rdman))
234 #define _coord_get_canvas(coord) ((coord)->canvas_info->canvas)
235 #define _coord_set_canvas(coord, _canvas) \
236 do { \
237 (coord)->canvas_info->canvas = _canvas; \
238 } while(0)
234 #define rdman_prop_store(rdman) ((rdman)->props) 239 #define rdman_prop_store(rdman) ((rdman)->props)
235 #define rdman_img_ldr(rdman) ((rdman)->img_ldr) 240 #define rdman_img_ldr(rdman) ((rdman)->img_ldr)
236 #define rdman_set_img_ldr(rdman, ldr) \ 241 #define rdman_set_img_ldr(rdman, ldr) \
237 do { (rdman)->img_ldr = ldr; } while(0) 242 do { (rdman)->img_ldr = ldr; } while(0)
238 /* @} */ 243 /* @} */