comparison src/coord.c @ 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 ed55009d96d3
children e17e12b112c4
comparison
equal deleted inserted replaced
14:d34232f15863 15:c2ce186a5c37
85 co->parent = parent; 85 co->parent = parent;
86 STAILQ_INS_TAIL(parent->children, coord_t, sibling, co); 86 STAILQ_INS_TAIL(parent->children, coord_t, sibling, co);
87 } 87 }
88 co->matrix[0] = 1; 88 co->matrix[0] = 1;
89 co->matrix[4] = 1; 89 co->matrix[4] = 1;
90 co->cur_area = &co->areas[0];
91 co->last_area = &co->areas[1];
90 } 92 }
91 93
92 void coord_trans_pos(coord_t *co, co_aix *x, co_aix *y) { 94 void coord_trans_pos(coord_t *co, co_aix *x, co_aix *y) {
93 co_aix nx, ny; 95 co_aix nx, ny;
94 96