X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.h;h=e02a69e2a5a4a57cfdb50daed573f4b9823abefe;hb=ad3336f70d722258b4bde660e0272d9987924d1f;hp=85e5aa73d7816f6421d877e04e0c4f4b80a0c5ad;hpb=4e5c6af5944285dcc70d2f128c6ffc1d2812a7b8;p=chaz%2Fopenbox diff --git a/render/theme.h b/render/theme.h index 85e5aa73..e02a69e2 100644 --- a/render/theme.h +++ b/render/theme.h @@ -57,8 +57,11 @@ 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 *title_separator_focused_color; + RrColor *title_separator_unfocused_color; RrColor *cb_focused_color; RrColor *cb_unfocused_color; RrColor *title_focused_color; @@ -229,11 +232,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);