mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
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:
parent
6a2a52c0ad
commit
d207e97992
5 changed files with 25 additions and 17 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue