X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.h;h=c65fec58179b8429f412c0830ccf3993083e83b5;hb=9cc523aa71d5c25a7ac0380c2349e3634d240f6d;hp=85e5aa73d7816f6421d877e04e0c4f4b80a0c5ad;hpb=4e5c6af5944285dcc70d2f128c6ffc1d2812a7b8;p=chaz%2Fopenbox diff --git a/render/theme.h b/render/theme.h index 85e5aa73..c65fec58 100644 --- a/render/theme.h +++ b/render/theme.h @@ -57,8 +57,9 @@ struct _RrTheme { gint menu_title_height; /* style settings - colors */ - RrColor *menu_b_color; - RrColor *frame_b_color; + RrColor *menu_border_color; + RrColor *frame_focused_border_color; + RrColor *frame_unfocused_border_color; RrColor *cb_focused_color; RrColor *cb_unfocused_color; RrColor *title_focused_color; @@ -229,11 +230,13 @@ struct _RrTheme { RrAppearance *osd_hilite_label; /* can be parent relative */ RrAppearance *osd_unhilite_fg; /* can never be parent relative */ + gchar *name; }; /*! The font values are all optional. If a NULL is used for any of them, then the default font will be used. */ -RrTheme* RrThemeNew(const RrInstance *inst, gchar *theme, +RrTheme* RrThemeNew(const RrInstance *inst, const gchar *theme, + gboolean allow_fallback, RrFont *active_window_font, RrFont *inactive_window_font, RrFont *menu_title_font, RrFont *menu_item_font, RrFont *osd_font);