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.
This commit is contained in:
John Lindgren 2023-12-16 09:56:45 -05:00 committed by Consolatis
parent 6a2a52c0ad
commit d207e97992
5 changed files with 25 additions and 17 deletions

View file

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