mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
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:
parent
3111c57d6f
commit
03bc2ada47
12 changed files with 315 additions and 391 deletions
11
include/button/button-xbm.h
Normal file
11
include/button/button-xbm.h
Normal 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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue