mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
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:
parent
4f96230ebf
commit
5122a9be69
5 changed files with 22 additions and 10 deletions
|
|
@ -49,6 +49,8 @@ static void entry(const char *key, const char *value)
|
|||
parse_hexstr(value, theme.window_active_handle_bg_color);
|
||||
if (match(key, "window.inactive.title.bg.color"))
|
||||
parse_hexstr(value, theme.window_inactive_title_bg_color);
|
||||
if (match(key, "window.active.button.unpressed.image.color"))
|
||||
parse_hexstr(value, theme.window_active_button_unpressed_image_color);
|
||||
}
|
||||
|
||||
static void rtrim(char **s)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue