aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar/render.h
blob: 114f43f43225fbbfb1eb27a0503a10d07d70a8a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _SWAYBAR_RENDER_H
#define _SWAYBAR_RENDER_H

#include "config.h"
#include "bar.h"

/**
 * Render swaybar.
 */
void render(struct output *output, struct config *config, struct status_line *line);

/**
 * Set window height and modify internal spacing accordingly.
 */
void set_window_height(struct window *window, int height);

/**
 * Compute the size of a workspace name
 */
void workspace_button_size(struct window *window, const char *workspace_name, int *width, int *height);

#endif /* _SWAYBAR_RENDER_H */