mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
Support png buttons
In the theme directory add close-{active,inactive}.png instead of
close.xbm - and similarly for iconify, menu and max.
This commit is contained in:
parent
eca98a9b6e
commit
a6a03daae3
7 changed files with 138 additions and 11 deletions
|
|
@ -53,7 +53,8 @@ ssd_titlebar_create(struct ssd *ssd)
|
|||
corner_top_right = &theme->corner_top_right_inactive_normal->base;
|
||||
menu_button_unpressed = &theme->button_menu_inactive_unpressed->base;
|
||||
iconify_button_unpressed = &theme->button_iconify_inactive_unpressed->base;
|
||||
maximize_button_unpressed = &theme->button_maximize_inactive_unpressed->base;
|
||||
maximize_button_unpressed =
|
||||
&theme->button_maximize_inactive_unpressed->base;
|
||||
close_button_unpressed = &theme->button_close_inactive_unpressed->base;
|
||||
wlr_scene_node_set_enabled(&parent->node, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue