refactor cursetree into node.c & tree.c
This commit is contained in:
parent
daaaaf979c
commit
2d76f8221e
6 changed files with 288 additions and 304 deletions
|
|
@ -47,5 +47,13 @@ struct crs_node {
|
|||
};
|
||||
|
||||
/* === External Interface === */
|
||||
struct crs_node *init_window_node(WINDOW *const win);
|
||||
void destroy_node(struct crs_node *const node);
|
||||
void resize_node(struct crs_node *const node,
|
||||
struct crs_nodedims *const new_dims);
|
||||
|
||||
void bifurcate_window_node(struct crs_node **const node,
|
||||
const enum crs_axis axis, const int invert_axis,
|
||||
const float ratio);
|
||||
|
||||
#endif /* CURSETREE_NODE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue