Mercurial > MadButterfly
comparison include/mb_types.h @ 521:fa2ccf39ba53 Android_Skia
imported patch more_comment.diff
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 19 Dec 2009 08:22:07 +0800 |
parents | d186d1e24458 |
children | a545f126d2bf |
comparison
equal
deleted
inserted
replaced
520:f106b57b8660 | 521:fa2ccf39ba53 |
---|---|
290 #define coord_get_flags(co, _flags) ((co)->flags & (_flags)) | 290 #define coord_get_flags(co, _flags) ((co)->flags & (_flags)) |
291 #define coord_clear_flags(co, _flags) \ | 291 #define coord_clear_flags(co, _flags) \ |
292 do { (co)->flags &= ~(_flags); } while(0) | 292 do { (co)->flags &= ~(_flags); } while(0) |
293 #define coord_get_mouse_event(coord) ((coord)->mouse_event) | 293 #define coord_get_mouse_event(coord) ((coord)->mouse_event) |
294 #define coord_get_aggr_matrix(coord) ((coord)->aggr_matrix) | 294 #define coord_get_aggr_matrix(coord) ((coord)->aggr_matrix) |
295 #define coord_get_matrix(coord) ((coord)->matrix) | |
295 #define FOR_COORDS_POSTORDER(coord, cur) \ | 296 #define FOR_COORDS_POSTORDER(coord, cur) \ |
296 for((cur) = postorder_coord_subtree((coord), NULL); \ | 297 for((cur) = postorder_coord_subtree((coord), NULL); \ |
297 (cur) != NULL; \ | 298 (cur) != NULL; \ |
298 (cur) = postorder_coord_subtree((coord), (cur))) | 299 (cur) = postorder_coord_subtree((coord), (cur))) |
299 #define FOR_COORDS_PREORDER(coord, cur) \ | 300 #define FOR_COORDS_PREORDER(coord, cur) \ |