mirror of
https://github.com/swaywm/sway.git
synced 2026-03-01 01:40:32 -05:00
Reorganize includes
This commit is contained in:
parent
729fdf7d91
commit
416417a54c
50 changed files with 146 additions and 154 deletions
22
include/swaybar/render.h
Normal file
22
include/swaybar/render.h
Normal file
|
|
@ -0,0 +1,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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue