theme: simplify loading of xbm buttons

No functional change.
This commit is contained in:
Johan Malm 2023-08-04 22:30:16 +01:00 committed by Johan Malm
parent 7a19184e5e
commit eca98a9b6e
5 changed files with 99 additions and 60 deletions

View file

@ -9,6 +9,7 @@
/**
* xbm_load - load theme xbm files into global theme struct
*/
void xbm_load(struct theme *theme);
void xbm_load_button(const char *filename, struct lab_data_buffer **buffer,
char *fallback_button, float *rgba);
#endif /* LABWC_XBM_H */