mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
theme: add window-switcher width/padding
...and calculate item-height based on font-height Add theme options - osd.window-switcher.width - osd.window-switcher.item.padding.x - osd.window-switcher.item.padding.y Issue #879
This commit is contained in:
parent
11ff820105
commit
df53c28a0f
5 changed files with 52 additions and 22 deletions
|
|
@ -62,10 +62,15 @@ struct theme {
|
|||
float menu_separator_color[4];
|
||||
|
||||
int osd_border_width;
|
||||
|
||||
float osd_bg_color[4];
|
||||
float osd_border_color[4];
|
||||
float osd_label_text_color[4];
|
||||
|
||||
int osd_window_switcher_width;
|
||||
int osd_window_switcher_item_padding_x;
|
||||
int osd_window_switcher_item_padding_y;
|
||||
|
||||
/* textures */
|
||||
struct lab_data_buffer *xbm_close_active_unpressed;
|
||||
struct lab_data_buffer *xbm_maximize_active_unpressed;
|
||||
|
|
@ -84,6 +89,7 @@ struct theme {
|
|||
|
||||
/* not set in rc.xml/themerc, but derived from font & padding_height */
|
||||
int title_height;
|
||||
int osd_window_switcher_item_height;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue