mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Support svg buttons
In the theme directory add close-{active,inactive}.svg instead of
close.xbm - and similarly for iconify, menu and max.
This commit is contained in:
parent
a386133068
commit
c62df26c2a
10 changed files with 137 additions and 5 deletions
|
|
@ -54,7 +54,7 @@ png_load(const char *button_name, struct lab_data_buffer **buffer)
|
|||
|
||||
char path[4096] = { 0 };
|
||||
button_filename(button_name, path, sizeof(path));
|
||||
if (!file_exists(path) || !ispng(path)) {
|
||||
if (!ispng(path)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue