summaryrefslogtreecommitdiffstats
path: root/include/sway/tree/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree/layout.h')
-rw-r--r--include/sway/tree/layout.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h
index 79c14eda..53f72ec4 100644
--- a/include/sway/tree/layout.h
+++ b/include/sway/tree/layout.h
@@ -32,28 +32,37 @@ struct sway_root {
32 32
33void layout_init(void); 33void layout_init(void);
34 34
35// TODO move to tree.h
35void container_add_child(struct sway_container *parent, struct sway_container *child); 36void container_add_child(struct sway_container *parent, struct sway_container *child);
36 37
38// TODO move to tree.h
37struct sway_container *container_add_sibling(struct sway_container *parent, 39struct sway_container *container_add_sibling(struct sway_container *parent,
38 struct sway_container *child); 40 struct sway_container *child);
39 41
42// TODO move to tree.h
40struct sway_container *container_remove_child(struct sway_container *child); 43struct sway_container *container_remove_child(struct sway_container *child);
41 44
45// TODO PRIVATE in tree.h
42struct sway_container *container_reap_empty(struct sway_container *container); 46struct sway_container *container_reap_empty(struct sway_container *container);
43 47
48// TODO move to tree.h
44void container_move_to(struct sway_container* container, 49void container_move_to(struct sway_container* container,
45 struct sway_container* destination); 50 struct sway_container* destination);
46 51
52// TODO move to output.c
47enum sway_container_layout container_get_default_layout(struct sway_container *output); 53enum sway_container_layout container_get_default_layout(struct sway_container *output);
48 54
55// TODO move to output.c
49void container_sort_workspaces(struct sway_container *output); 56void container_sort_workspaces(struct sway_container *output);
50 57
51void arrange_windows(struct sway_container *container, 58void arrange_windows(struct sway_container *container,
52 double width, double height); 59 double width, double height);
53 60
61// TODO move to container.h
54struct sway_container *container_get_in_direction(struct sway_container 62struct sway_container *container_get_in_direction(struct sway_container
55 *container, struct sway_seat *seat, enum movement_direction dir); 63 *container, struct sway_seat *seat, enum movement_direction dir);
56 64
65// TODO move to tree.h
57struct sway_container *container_split(struct sway_container *child, 66struct sway_container *container_split(struct sway_container *child,
58 enum sway_container_layout layout); 67 enum sway_container_layout layout);
59 68