diff options
author | 2016-09-01 08:18:37 -0400 | |
---|---|---|
committer | 2016-09-01 08:18:37 -0400 | |
commit | 416417a54c5875abcdc257b6ad10ff086c35eefc (patch) | |
tree | 00f20884a05d05e620a4a24bba8595557cd41405 /include/bar/status_line.h | |
parent | Merge pull request #876 from zandrmartin/patch-1 (diff) | |
download | sway-416417a54c5875abcdc257b6ad10ff086c35eefc.tar.gz sway-416417a54c5875abcdc257b6ad10ff086c35eefc.tar.zst sway-416417a54c5875abcdc257b6ad10ff086c35eefc.zip |
Reorganize includes
Diffstat (limited to 'include/bar/status_line.h')
-rw-r--r-- | include/bar/status_line.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/include/bar/status_line.h b/include/bar/status_line.h deleted file mode 100644 index 9b77e8a7..00000000 --- a/include/bar/status_line.h +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | #ifndef _SWAYBAR_STATUS_LINE_H | ||
2 | #define _SWAYBAR_STATUS_LINE_H | ||
3 | |||
4 | #include <stdint.h> | ||
5 | #include <stdbool.h> | ||
6 | |||
7 | #include "list.h" | ||
8 | #include "bar.h" | ||
9 | |||
10 | typedef enum {UNDEF, TEXT, I3BAR} command_protocol; | ||
11 | |||
12 | struct status_line { | ||
13 | list_t *block_line; | ||
14 | const char *text_line; | ||
15 | command_protocol protocol; | ||
16 | }; | ||
17 | |||
18 | struct status_block { | ||
19 | char *full_text, *short_text, *align; | ||
20 | bool urgent; | ||
21 | uint32_t color; | ||
22 | int min_width; | ||
23 | char *name, *instance; | ||
24 | bool separator; | ||
25 | int separator_block_width; | ||
26 | bool markup; | ||
27 | // Airblader features | ||
28 | uint32_t background; | ||
29 | uint32_t border; | ||
30 | int border_top; | ||
31 | int border_bottom; | ||
32 | int border_left; | ||
33 | int border_right; | ||
34 | }; | ||
35 | |||
36 | /** | ||
37 | * Initialize status line struct. | ||
38 | */ | ||
39 | struct status_line *init_status_line(); | ||
40 | |||
41 | /** | ||
42 | * handle status line activity. | ||
43 | */ | ||
44 | bool handle_status_line(struct bar *bar); | ||
45 | |||
46 | /** | ||
47 | * Free status line struct. | ||
48 | */ | ||
49 | void free_status_line(struct status_line *line); | ||
50 | |||
51 | #endif /* _SWAYBAR_STATUS_LINE_H */ | ||