diff options
Diffstat (limited to 'include/swaybar/tray/icon.h')
-rw-r--r-- | include/swaybar/tray/icon.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/include/swaybar/tray/icon.h b/include/swaybar/tray/icon.h index 8e1d471e..3673674b 100644 --- a/include/swaybar/tray/icon.h +++ b/include/swaybar/tray/icon.h | |||
@@ -3,16 +3,16 @@ | |||
3 | 3 | ||
4 | #include "list.h" | 4 | #include "list.h" |
5 | 5 | ||
6 | enum subdir_type { | ||
7 | THRESHOLD, | ||
8 | SCALABLE, | ||
9 | FIXED | ||
10 | }; | ||
11 | |||
12 | struct icon_theme_subdir { | 6 | struct icon_theme_subdir { |
13 | char *name; | 7 | char *name; |
14 | int size; | 8 | int size; |
15 | enum subdir_type type; | 9 | |
10 | enum { | ||
11 | THRESHOLD, | ||
12 | SCALABLE, | ||
13 | FIXED | ||
14 | } type; | ||
15 | |||
16 | int max_size; | 16 | int max_size; |
17 | int min_size; | 17 | int min_size; |
18 | int threshold; | 18 | int threshold; |
@@ -39,6 +39,5 @@ void finish_themes(list_t *themes, list_t *basedirs); | |||
39 | */ | 39 | */ |
40 | char *find_icon(list_t *themes, list_t *basedirs, char *name, int size, | 40 | char *find_icon(list_t *themes, list_t *basedirs, char *name, int size, |
41 | char *theme, int *min_size, int *max_size); | 41 | char *theme, int *min_size, int *max_size); |
42 | char *find_icon_in_dir(char *name, char *dir, int *min_size, int *max_size); | ||
43 | 42 | ||
44 | #endif | 43 | #endif |