X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.h;h=23eead317678e071da0d8c1c0608b5a167486bce;hb=3a607fad9df628ab16e0f7436dfbfc9b22634003;hp=d9965f6f154e658a27a42f300f41948a3fd2bfe0;hpb=f97e7133d46d43799b6a84dabd4ba5976556230d;p=chaz%2Fopenbox diff --git a/render/theme.h b/render/theme.h index d9965f6f..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,9 +43,8 @@ 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; @@ -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_hilite; - RrAppearance *a_menu_text_item; + RrAppearance *a_menu_selected; + RrAppearance *a_menu_text_normal; RrAppearance *a_menu_text_disabled; - RrAppearance *a_menu_text_hilite; - RrAppearance *a_menu_bullet; + RrAppearance *a_menu_text_selected; + 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_hilite_bg; RrAppearance *app_unhilite_bg; - RrAppearance *app_hilite_label; - RrAppearance *app_unhilite_label; + 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