mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
theme: simplify loading of xbm buttons
No functional change.
This commit is contained in:
parent
7a19184e5e
commit
eca98a9b6e
5 changed files with 99 additions and 60 deletions
|
|
@ -76,15 +76,15 @@ struct theme {
|
|||
int osd_window_switcher_item_active_border_width;
|
||||
|
||||
/* textures */
|
||||
struct lab_data_buffer *xbm_close_active_unpressed;
|
||||
struct lab_data_buffer *xbm_maximize_active_unpressed;
|
||||
struct lab_data_buffer *xbm_iconify_active_unpressed;
|
||||
struct lab_data_buffer *xbm_menu_active_unpressed;
|
||||
struct lab_data_buffer *button_close_active_unpressed;
|
||||
struct lab_data_buffer *button_maximize_active_unpressed;
|
||||
struct lab_data_buffer *button_iconify_active_unpressed;
|
||||
struct lab_data_buffer *button_menu_active_unpressed;
|
||||
|
||||
struct lab_data_buffer *xbm_close_inactive_unpressed;
|
||||
struct lab_data_buffer *xbm_maximize_inactive_unpressed;
|
||||
struct lab_data_buffer *xbm_iconify_inactive_unpressed;
|
||||
struct lab_data_buffer *xbm_menu_inactive_unpressed;
|
||||
struct lab_data_buffer *button_close_inactive_unpressed;
|
||||
struct lab_data_buffer *button_maximize_inactive_unpressed;
|
||||
struct lab_data_buffer *button_iconify_inactive_unpressed;
|
||||
struct lab_data_buffer *button_menu_inactive_unpressed;
|
||||
|
||||
struct lab_data_buffer *corner_top_left_active_normal;
|
||||
struct lab_data_buffer *corner_top_right_active_normal;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
/**
|
||||
* xbm_load - load theme xbm files into global theme struct
|
||||
*/
|
||||
void xbm_load(struct theme *theme);
|
||||
void xbm_load_button(const char *filename, struct lab_data_buffer **buffer,
|
||||
char *fallback_button, float *rgba);
|
||||
|
||||
#endif /* LABWC_XBM_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue