X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.h;h=23eead317678e071da0d8c1c0608b5a167486bce;hb=e8c1967aa21b69582f8679525543bed49007fc58;hp=b4d7cd1dcb92434a7ea02d27c09b01f66609f04d;hpb=f33bbca9e6dfa55862de54501c07af635d56c137;p=chaz%2Fopenbox diff --git a/render/theme.h b/render/theme.h index b4d7cd1d..23eead31 100644 --- a/render/theme.h +++ b/render/theme.h @@ -15,7 +15,7 @@ struct _RrTheme { gboolean show_handle; /* style settings - geometry */ - gint bevel; + gint padding; gint handle_height; gint bwidth; gint cbwidth; @@ -43,7 +43,6 @@ struct _RrTheme { RrColor *titlebut_unfocused_unpressed_color; RrColor *menu_title_color; RrColor *menu_color; - RrColor *menu_bullet_color; RrColor *menu_disabled_color; RrColor *menu_selected_color; @@ -56,6 +55,9 @@ struct _RrTheme { gint mfont_height; RrFont *mfont; + /* style settings - pics */ + RrPixel32 *def_win_icon; /* 48x48 RGBA */ + /* style settings - masks */ RrPixmapMask *max_mask; RrPixmapMask *max_toggled_mask; @@ -143,24 +145,27 @@ struct _RrTheme { RrAppearance *a_unfocused_handle; RrAppearance *a_menu_title; RrAppearance *a_menu; - RrAppearance *a_menu_item; + RrAppearance *a_menu_normal; RrAppearance *a_menu_disabled; RrAppearance *a_menu_selected; - RrAppearance *a_menu_text_item; + RrAppearance *a_menu_text_normal; RrAppearance *a_menu_text_disabled; RrAppearance *a_menu_text_selected; - RrAppearance *a_menu_bullet; + RrAppearance *a_menu_bullet_normal; + RrAppearance *a_menu_bullet_selected; 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_fg; /* never parent relative */ + RrAppearance *app_unhilite_fg; /* never parent relative */ + RrAppearance *app_hilite_label; /* can be parent relative */ + RrAppearance *app_unhilite_label; /* can be parent relative */ }; -RrTheme *RrThemeNew(const RrInstance *inst, gchar *theme); +RrTheme* RrThemeNew(const RrInstance *inst, gchar *theme); void RrThemeFree(RrTheme *theme); #endif