diff options
Diffstat (limited to 'include/sway/tree/layout.h')
-rw-r--r-- | include/sway/tree/layout.h | 9 |
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 | ||
33 | void layout_init(void); | 33 | void layout_init(void); |
34 | 34 | ||
35 | // TODO move to tree.h | ||
35 | void container_add_child(struct sway_container *parent, struct sway_container *child); | 36 | void container_add_child(struct sway_container *parent, struct sway_container *child); |
36 | 37 | ||
38 | // TODO move to tree.h | ||
37 | struct sway_container *container_add_sibling(struct sway_container *parent, | 39 | struct 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 | ||
40 | struct sway_container *container_remove_child(struct sway_container *child); | 43 | struct sway_container *container_remove_child(struct sway_container *child); |
41 | 44 | ||
45 | // TODO PRIVATE in tree.h | ||
42 | struct sway_container *container_reap_empty(struct sway_container *container); | 46 | struct sway_container *container_reap_empty(struct sway_container *container); |
43 | 47 | ||
48 | // TODO move to tree.h | ||
44 | void container_move_to(struct sway_container* container, | 49 | void 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 | ||
47 | enum sway_container_layout container_get_default_layout(struct sway_container *output); | 53 | enum sway_container_layout container_get_default_layout(struct sway_container *output); |
48 | 54 | ||
55 | // TODO move to output.c | ||
49 | void container_sort_workspaces(struct sway_container *output); | 56 | void container_sort_workspaces(struct sway_container *output); |
50 | 57 | ||
51 | void arrange_windows(struct sway_container *container, | 58 | void arrange_windows(struct sway_container *container, |
52 | double width, double height); | 59 | double width, double height); |
53 | 60 | ||
61 | // TODO move to container.h | ||
54 | struct sway_container *container_get_in_direction(struct sway_container | 62 | struct 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 | ||
57 | struct sway_container *container_split(struct sway_container *child, | 66 | struct sway_container *container_split(struct sway_container *child, |
58 | enum sway_container_layout layout); | 67 | enum sway_container_layout layout); |
59 | 68 | ||