mirror of
https://github.com/labwc/labwc.git
synced 2025-11-12 13:30:11 -05:00
Support inactive unpressed icons
This commit is contained in:
parent
e62c251a74
commit
83331e57ed
6 changed files with 48 additions and 17 deletions
|
|
@ -73,8 +73,13 @@ 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, "close.xbm", &theme.xbm_close_active_unpressed, close_button_normal);
|
||||
load_button(r, "max.xbm", &theme.xbm_maximize_active_unpressed, max_button_normal);
|
||||
load_button(r, "iconify.xbm", &theme.xbm_iconify_active_unpressed, iconify_button_normal);
|
||||
|
||||
parse_set_color(theme.window_inactive_button_unpressed_image_color);
|
||||
load_button(r, "close.xbm", &theme.xbm_close_inactive_unpressed, close_button_normal);
|
||||
load_button(r, "max.xbm", &theme.xbm_maximize_inactive_unpressed, max_button_normal);
|
||||
load_button(r, "iconify.xbm", &theme.xbm_iconify_inactive_unpressed, iconify_button_normal);
|
||||
}
|
||||
/* clang-format on */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue