2016-01-24 06:55:01 +11:00
|
|
|
#ifndef _SWAYBAR_RENDER_H
|
|
|
|
#define _SWAYBAR_RENDER_H
|
|
|
|
|
|
|
|
#include "config.h"
|
2016-01-24 12:34:20 +11:00
|
|
|
#include "bar.h"
|
2016-01-24 06:55:01 +11:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Render swaybar.
|
|
|
|
*/
|
2016-01-24 12:34:20 +11:00
|
|
|
void render(struct output *output, struct config *config, struct status_line *line);
|
2016-01-24 06:55:01 +11:00
|
|
|
|
2016-01-24 10:23:09 +11:00
|
|
|
/**
|
|
|
|
* Set window height and modify internal spacing accordingly.
|
|
|
|
*/
|
|
|
|
void set_window_height(struct window *window, int height);
|
|
|
|
|
2016-01-24 06:55:01 +11:00
|
|
|
#endif /* _SWAYBAR_RENDER_H */
|