comparison src/mb_types.h @ 15:c2ce186a5c37

X_main uses rdman_redraw_all()
author Thinker K.F. Li <thinker@branda.to>
date Fri, 01 Aug 2008 01:40:07 +0800
parents d34232f15863
children e17e12b112c4
comparison
equal deleted inserted replaced
14:d34232f15863 15:c2ce186a5c37
25 area_t areas[2]; 25 area_t areas[2];
26 }; 26 };
27 #define GEF_DIRTY 0x1 27 #define GEF_DIRTY 0x1
28 28
29 extern int is_overlay(area_t *r1, area_t *r2); 29 extern int is_overlay(area_t *r1, area_t *r2);
30 extern void area_init(area_t *area, int n_pos, co_aix pos[][2]);
30 extern void geo_init(geo_t *g, int n_pos, co_aix pos[][2]); 31 extern void geo_init(geo_t *g, int n_pos, co_aix pos[][2]);
31 extern void geo_mark_overlay(geo_t *g, int n_others, geo_t **others, 32 extern void geo_mark_overlay(geo_t *g, int n_others, geo_t **others,
32 int *n_overlays, geo_t **overlays); 33 int *n_overlays, geo_t **overlays);
33 #define geo_get_shape(g) ((g)->shape) 34 #define geo_get_shape(g) ((g)->shape)
34 #define geo_set_shape(g, sh) do {(g)->shape = sh;} while(0) 35 #define geo_set_shape(g, sh) do {(g)->shape = sh;} while(0)
53 */ 54 */
54 typedef struct _coord { 55 typedef struct _coord {
55 unsigned int order; 56 unsigned int order;
56 unsigned int flags; 57 unsigned int flags;
57 area_t *cur_area, *last_area; 58 area_t *cur_area, *last_area;
59 area_t areas[2];
58 60
59 co_aix matrix[6]; 61 co_aix matrix[6];
60 co_aix aggr_matrix[6]; 62 co_aix aggr_matrix[6];
61 63
62 struct _coord *parent; 64 struct _coord *parent;