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:
Johan Malm 2023-08-04 22:34:07 +01:00 committed by Johan Malm
parent eca98a9b6e
commit a6a03daae3
7 changed files with 138 additions and 11 deletions

9
include/button-png.h Normal file
View file

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_BUTTON_PNG_H
#define LABWC_BUTTON_PNG_H
struct lab_data_buffer;
void png_load(const char *filename, struct lab_data_buffer **buffer);
#endif /* LABWC_BUTTON_PNG_H */