labwc/include/button/button-xbm.h
John Lindgren d207e97992 theme: use non-hover button variants as fallback
Some themes don't have hover variants for button pixmaps.
It looks better visually to use the non-hover variants as fallbacks
rather than the built-in 6x6 pixmaps.
2023-12-21 02:42:23 +01:00

12 lines
373 B
C

/* 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 *button_name, const char *alt_name,
struct lab_data_buffer **buffer, const char *fallback_button,
float *rgba);
#endif /* LABWC_BUTTON_XBM_H */