summaryrefslogtreecommitdiffstats
path: root/include/swaybar/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/swaybar/render.h')
-rw-r--r--include/swaybar/render.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/swaybar/render.h b/include/swaybar/render.h
new file mode 100644
index 00000000..114f43f4
--- /dev/null
+++ b/include/swaybar/render.h
@@ -0,0 +1,22 @@
1#ifndef _SWAYBAR_RENDER_H
2#define _SWAYBAR_RENDER_H
3
4#include "config.h"
5#include "bar.h"
6
7/**
8 * Render swaybar.
9 */
10void render(struct output *output, struct config *config, struct status_line *line);
11
12/**
13 * Set window height and modify internal spacing accordingly.
14 */
15void set_window_height(struct window *window, int height);
16
17/**
18 * Compute the size of a workspace name
19 */
20void workspace_button_size(struct window *window, const char *workspace_name, int *width, int *height);
21
22#endif /* _SWAYBAR_RENDER_H */