Support icon colors

xbm/parse: support specifiying color when loading icon
theme.c: parse window.active.button.unpressed.image.color
This commit is contained in:
Johan Malm 2020-08-21 19:43:34 +01:00
parent 4f96230ebf
commit 5122a9be69
5 changed files with 22 additions and 10 deletions

View file

@ -71,8 +71,8 @@ out:
void xbm_load(struct wlr_renderer *r)
{
parse_set_color(theme.window_active_button_unpressed_image_color);
load_button(r, "close.xbm", &theme.xbm_close, close_button_normal);
load_button(r, "max.xbm", &theme.xbm_maximize, max_button_normal);
load_button(r, "iconify.xbm", &theme.xbm_iconify,
iconify_button_normal);
load_button(r, "iconify.xbm", &theme.xbm_iconify, iconify_button_normal);
}