mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
src/theme.c: add menu to individual buttons
This commit is contained in:
parent
41a4176b17
commit
6d1d0aecab
1 changed files with 8 additions and 0 deletions
|
|
@ -238,6 +238,10 @@ entry(struct theme *theme, const char *key, const char *value)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* individual buttons */
|
/* individual buttons */
|
||||||
|
if (match(key, "window.active.button.menu.unpressed.image.color")) {
|
||||||
|
parse_hexstr(value,
|
||||||
|
theme->window_active_button_menu_unpressed_image_color);
|
||||||
|
}
|
||||||
if (match(key, "window.active.button.iconify.unpressed.image.color")) {
|
if (match(key, "window.active.button.iconify.unpressed.image.color")) {
|
||||||
parse_hexstr(value,
|
parse_hexstr(value,
|
||||||
theme->window_active_button_iconify_unpressed_image_color);
|
theme->window_active_button_iconify_unpressed_image_color);
|
||||||
|
|
@ -250,6 +254,10 @@ entry(struct theme *theme, const char *key, const char *value)
|
||||||
parse_hexstr(value,
|
parse_hexstr(value,
|
||||||
theme->window_active_button_close_unpressed_image_color);
|
theme->window_active_button_close_unpressed_image_color);
|
||||||
}
|
}
|
||||||
|
if (match(key, "window.inactive.button.menu.unpressed.image.color")) {
|
||||||
|
parse_hexstr(value,
|
||||||
|
theme->window_inactive_button_menu_unpressed_image_color);
|
||||||
|
}
|
||||||
if (match(key, "window.inactive.button.iconify.unpressed.image.color")) {
|
if (match(key, "window.inactive.button.iconify.unpressed.image.color")) {
|
||||||
parse_hexstr(value,
|
parse_hexstr(value,
|
||||||
theme->window_inactive_button_iconify_unpressed_image_color);
|
theme->window_inactive_button_iconify_unpressed_image_color);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue