version 1.21, 2018/10/18 08:38:01 |
version 1.22, 2019/04/04 10:25:35 |
|
|
/* Free old tree and create a new root. */ |
/* Free old tree and create a new root. */ |
layout_free(w); |
layout_free(w); |
lc = w->layout_root = layout_create_cell(NULL); |
lc = w->layout_root = layout_create_cell(NULL); |
layout_set_size(lc, (width + 1) * columns - 1, |
layout_set_size(lc, w->sx, w->sy, 0, 0); |
(height + 1) * rows - 1, 0, 0); |
|
layout_make_node(lc, LAYOUT_TOPBOTTOM); |
layout_make_node(lc, LAYOUT_TOPBOTTOM); |
|
|
/* Create a grid of the cells. */ |
/* Create a grid of the cells. */ |