X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.h;h=b4d7cd1dcb92434a7ea02d27c09b01f66609f04d;hb=7f7378cc2b0712de050a93bdfa116788de06a23a;hp=a851b5b5063280366e5a649748c033ffb426cea3;hpb=f407b5d80f3b2c5de66a7c835fb102a8d13376f6;p=chaz%2Fopenbox diff --git a/render/theme.h b/render/theme.h index a851b5b5..b4d7cd1d 100644 --- a/render/theme.h +++ b/render/theme.h @@ -11,6 +11,9 @@ struct _RrTheme { const RrInstance *inst; + /* style settings - optional decor */ + gboolean show_handle; + /* style settings - geometry */ gint bevel; gint handle_height; @@ -40,12 +43,14 @@ struct _RrTheme { RrColor *titlebut_unfocused_unpressed_color; RrColor *menu_title_color; RrColor *menu_color; + RrColor *menu_bullet_color; RrColor *menu_disabled_color; - RrColor *menu_hilite_color; + RrColor *menu_selected_color; /* style settings - fonts */ gint winfont_height; - RrFont *winfont; + RrFont *winfont_focused; + RrFont *winfont_unfocused; gint mtitlefont_height; RrFont *mtitlefont; gint mfont_height; @@ -76,6 +81,9 @@ struct _RrTheme { RrPixmapMask *close_disabled_mask; RrPixmapMask *close_pressed_mask; + RrPixmapMask *menu_bullet_mask; /* submenu pointer */ + RrPixmapMask *menu_toggle_mask; /* menu boolean */ + /* global appearances */ RrAppearance *a_disabled_focused_max; RrAppearance *a_disabled_unfocused_max; @@ -137,13 +145,19 @@ struct _RrTheme { RrAppearance *a_menu; RrAppearance *a_menu_item; RrAppearance *a_menu_disabled; - RrAppearance *a_menu_hilite; + RrAppearance *a_menu_selected; + RrAppearance *a_menu_text_item; + RrAppearance *a_menu_text_disabled; + RrAppearance *a_menu_text_selected; + RrAppearance *a_menu_bullet; + RrAppearance *a_clear; /* clear with no texture */ + RrAppearance *a_clear_tex; /* clear with a texture */ + + RrAppearance *app_selected_bg; + RrAppearance *app_unselected_bg; + RrAppearance *app_selected_label; + RrAppearance *app_unselected_label; - RrAppearance *app_hilite_bg; - RrAppearance *app_unhilite_bg; - RrAppearance *app_hilite_label; - RrAppearance *app_unhilite_label; - RrAppearance *app_icon; }; RrTheme *RrThemeNew(const RrInstance *inst, gchar *theme);