Window switcher, allow to use percent of monitor width.

OSD will size per monitor.  With this the width stays
relative sized on my 4k as well as my 1080p monitor

example from my theme
osd.window-switcher.width.percent: 60%
This commit is contained in:
Droc 2024-03-25 16:47:03 -05:00
parent 4fc6bce3ea
commit 4a2db844c0
4 changed files with 16 additions and 3 deletions

View file

@ -71,6 +71,7 @@ struct theme {
float osd_label_text_color[4];
int osd_window_switcher_width;
int osd_window_switcher_width_percent;
int osd_window_switcher_padding;
int osd_window_switcher_item_padding_x;
int osd_window_switcher_item_padding_y;