menu enhancements - theme and separators

separators work with and without a label

label title additions
- text color
- font selection
- center justification
- Oblique font style
This commit is contained in:
Droc 2024-08-21 04:19:22 -05:00
parent 107d84cef9
commit a345cae8ee
12 changed files with 79 additions and 7 deletions

View file

@ -6,7 +6,8 @@ struct lab_data_buffer;
enum font_slant {
FONT_SLANT_NORMAL = 0,
FONT_SLANT_ITALIC
FONT_SLANT_ITALIC,
FONT_SLANT_OBLIQUE
};
enum font_weight {

View file

@ -80,6 +80,7 @@ struct rcxml {
bool shadows_enabled;
struct font font_activewindow;
struct font font_inactivewindow;
struct font font_menuheader;
struct font font_menuitem;
struct font font_osd;

View file

@ -44,6 +44,7 @@ struct theme {
float window_active_label_text_color[4];
float window_inactive_label_text_color[4];
enum lab_justification window_label_text_justify;
enum lab_justification menu_title_text_justify;
/* button width */
int window_button_width;
@ -78,6 +79,8 @@ struct theme {
float menu_title_bg_color[4];
float menu_title_text_color[4];
int osd_border_width;
float osd_bg_color[4];