button: refactor xbm code

- Rename src/xbm/ to src/button/
- Combine xbm.c parse.c tokenize.c into button-xbm.c

No functional change
This commit is contained in:
Johan Malm 2023-08-10 15:50:25 +01:00 committed by Johan Malm
parent 3111c57d6f
commit 03bc2ada47
12 changed files with 315 additions and 391 deletions

View file

@ -0,0 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_BUTTON_XBM_H
#define LABWC_BUTTON_XBM_H
struct lab_data_buffer;
/* button_xbm_load - Convert xbm file to buffer with cairo surface */
void button_xbm_load(const char *filename, struct lab_data_buffer **buffer,
char *fallback_button, float *rgba);
#endif /* LABWC_BUTTON_XBM_H */