X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.h;h=5b7b932ad88fc266439a9f206f5f6683727c80f5;hb=96f9db0d0c0ef9073be894162e5c6ea2db726b44;hp=e52b16c4faa5beca8c9b4c32dd18f2ec6d367131;hpb=a72371b41f48a2d6a1e55099456d30d3b678b66c;p=chaz%2Fopenbox diff --git a/render/theme.h b/render/theme.h index e52b16c4..5b7b932a 100644 --- a/render/theme.h +++ b/render/theme.h @@ -21,6 +21,7 @@ struct _RrTheme { gint cbwidth; gint label_height; gint title_height; + gint menu_title_height; gint button_size; gint grip_width; gint menu_overlap; @@ -47,13 +48,16 @@ struct _RrTheme { RrColor *menu_selected_color; /* style settings - fonts */ - gint winfont_height; - RrFont *winfont_focused; - RrFont *winfont_unfocused; - gint mtitlefont_height; - RrFont *mtitlefont; - gint mfont_height; - RrFont *mfont; + gint win_font_height; + RrFont *win_font_focused; + RrFont *win_font_unfocused; + gint menu_title_font_height; + RrFont *menu_title_font; + gint menu_font_height; + RrFont *menu_font; + + /* style settings - pics */ + RrPixel32 *def_win_icon; /* 48x48 RGBA */ /* style settings - masks */ RrPixmapMask *max_mask; @@ -155,12 +159,14 @@ struct _RrTheme { 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