You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
518 B
23 lines
518 B
9 years ago
|
#ifndef _SWAYBAR_RENDER_H
|
||
|
#define _SWAYBAR_RENDER_H
|
||
|
|
||
|
#include "config.h"
|
||
9 years ago
|
#include "bar.h"
|
||
9 years ago
|
|
||
|
/**
|
||
|
* Render swaybar.
|
||
|
*/
|
||
9 years ago
|
void render(struct output *output, struct config *config, struct status_line *line);
|
||
9 years ago
|
|
||
9 years ago
|
/**
|
||
|
* Set window height and modify internal spacing accordingly.
|
||
|
*/
|
||
|
void set_window_height(struct window *window, int height);
|
||
|
|
||
8 years ago
|
/**
|
||
|
* Compute the size of a workspace name
|
||
|
*/
|
||
|
void workspace_button_size(struct window *window, const char *workspace_name, int *width, int *height);
|
||
|
|
||
9 years ago
|
#endif /* _SWAYBAR_RENDER_H */
|