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, 0 insertions, 9 deletions
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h
index 12689375..784dcc9b 100644
--- a/include/sway/tree/layout.h
+++ b/include/sway/tree/layout.h
@@ -29,26 +29,20 @@ struct sway_root {
29 29
30void layout_init(void); 30void layout_init(void);
31 31
32// TODO move to tree.h
33void container_add_child(struct sway_container *parent, 32void container_add_child(struct sway_container *parent,
34 struct sway_container *child); 33 struct sway_container *child);
35 34
36// TODO move to tree.h
37struct sway_container *container_add_sibling(struct sway_container *parent, 35struct sway_container *container_add_sibling(struct sway_container *parent,
38 struct sway_container *child); 36 struct sway_container *child);
39 37
40// TODO move to tree.h
41struct sway_container *container_remove_child(struct sway_container *child); 38struct sway_container *container_remove_child(struct sway_container *child);
42 39
43// TODO PRIVATE in tree.h
44struct sway_container *container_replace_child(struct sway_container *child, 40struct sway_container *container_replace_child(struct sway_container *child,
45 struct sway_container *new_child); 41 struct sway_container *new_child);
46 42
47// TODO move to layout.c
48struct sway_container *container_set_layout(struct sway_container *container, 43struct sway_container *container_set_layout(struct sway_container *container,
49 enum sway_container_layout layout); 44 enum sway_container_layout layout);
50 45
51// TODO move to tree.h
52void container_move_to(struct sway_container* container, 46void container_move_to(struct sway_container* container,
53 struct sway_container* destination); 47 struct sway_container* destination);
54 48
@@ -58,17 +52,14 @@ void container_move(struct sway_container *container,
58enum sway_container_layout container_get_default_layout( 52enum sway_container_layout container_get_default_layout(
59 struct sway_container *con); 53 struct sway_container *con);
60 54
61// TODO move to output.c
62void container_sort_workspaces(struct sway_container *output); 55void container_sort_workspaces(struct sway_container *output);
63 56
64void arrange_windows(struct sway_container *container, 57void arrange_windows(struct sway_container *container,
65 double width, double height); 58 double width, double height);
66 59
67// TODO move to container.h
68struct sway_container *container_get_in_direction(struct sway_container 60struct sway_container *container_get_in_direction(struct sway_container
69 *container, struct sway_seat *seat, enum movement_direction dir); 61 *container, struct sway_seat *seat, enum movement_direction dir);
70 62
71// TODO move to tree.h
72struct sway_container *container_split(struct sway_container *child, 63struct sway_container *container_split(struct sway_container *child,
73 enum sway_container_layout layout); 64 enum sway_container_layout layout);
74 65