refactor cursetree into node.c & tree.c

This commit is contained in:
Emile Clark-Boman 2025-09-13 11:16:28 +10:00
parent daaaaf979c
commit 2d76f8221e
6 changed files with 288 additions and 304 deletions

View file

@ -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 */