X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.h;h=5abe35ea7f7cfc6bde9b521db043ab3176622dad;hb=c68f0a0f1113e1437dec39b5dc7e223e59fd84c7;hp=60aac26509b7469d25c0d83b7731a51871ee6b5b;hpb=dbe2851b910dcdb02afbb744dbb2926286ab8f65;p=chaz%2Fopenbox diff --git a/render/theme.h b/render/theme.h index 60aac265..5abe35ea 100644 --- a/render/theme.h +++ b/render/theme.h @@ -2,12 +2,11 @@ #define __theme_h #include "render.h" -#include "color.h" -#include "mask.h" typedef struct _RrTheme RrTheme; struct _RrTheme { + gchar *path; gchar *name; const RrInstance *inst; @@ -21,6 +20,7 @@ struct _RrTheme { gint title_height; gint button_size; gint grip_width; + gint menu_overlap; /* style settings - colors */ RrColor *b_color; @@ -28,8 +28,14 @@ struct _RrTheme { RrColor *cb_unfocused_color; RrColor *title_focused_color; RrColor *title_unfocused_color; - RrColor *titlebut_focused_color; - RrColor *titlebut_unfocused_color; + RrColor *titlebut_disabled_focused_color; + RrColor *titlebut_disabled_unfocused_color; + RrColor *titlebut_hover_focused_color; + RrColor *titlebut_hover_unfocused_color; + RrColor *titlebut_focused_pressed_color; + RrColor *titlebut_unfocused_pressed_color; + RrColor *titlebut_focused_unpressed_color; + RrColor *titlebut_unfocused_unpressed_color; RrColor *menu_title_color; RrColor *menu_color; RrColor *menu_disabled_color; @@ -38,22 +44,10 @@ struct _RrTheme { /* style settings - fonts */ gint winfont_height; RrFont *winfont; - gboolean winfont_shadow; - gint winfont_shadow_offset; - gint winfont_shadow_tint; gint mtitlefont_height; RrFont *mtitlefont; - gboolean mtitlefont_shadow; - gint mtitlefont_shadow_offset; - gint mtitlefont_shadow_tint; gint mfont_height; RrFont *mfont; - gboolean mfont_shadow; - gint mfont_shadow_offset; - gint mfont_shadow_tint; - - /* style settings - title layout */ - gchar *title_layout; /* style settings - masks */ RrPixmapMask *max_set_mask; @@ -66,28 +60,48 @@ struct _RrTheme { RrPixmapMask *close_mask; /* global appearances */ + RrAppearance *a_disabled_focused_max; + RrAppearance *a_disabled_unfocused_max; + RrAppearance *a_hover_focused_max; + RrAppearance *a_hover_unfocused_max; RrAppearance *a_focused_unpressed_max; RrAppearance *a_focused_pressed_max; RrAppearance *a_focused_pressed_set_max; RrAppearance *a_unfocused_unpressed_max; RrAppearance *a_unfocused_pressed_max; RrAppearance *a_unfocused_pressed_set_max; + RrAppearance *a_disabled_focused_close; + RrAppearance *a_disabled_unfocused_close; + RrAppearance *a_hover_focused_close; + RrAppearance *a_hover_unfocused_close; RrAppearance *a_focused_unpressed_close; RrAppearance *a_focused_pressed_close; RrAppearance *a_unfocused_unpressed_close; RrAppearance *a_unfocused_pressed_close; + RrAppearance *a_disabled_focused_desk; + RrAppearance *a_disabled_unfocused_desk; + RrAppearance *a_hover_focused_desk; + RrAppearance *a_hover_unfocused_desk; RrAppearance *a_focused_unpressed_desk; RrAppearance *a_focused_pressed_desk; RrAppearance *a_focused_pressed_set_desk; RrAppearance *a_unfocused_unpressed_desk; RrAppearance *a_unfocused_pressed_desk; RrAppearance *a_unfocused_pressed_set_desk; + RrAppearance *a_disabled_focused_shade; + RrAppearance *a_disabled_unfocused_shade; + RrAppearance *a_hover_focused_shade; + RrAppearance *a_hover_unfocused_shade; RrAppearance *a_focused_unpressed_shade; RrAppearance *a_focused_pressed_shade; RrAppearance *a_focused_pressed_set_shade; RrAppearance *a_unfocused_unpressed_shade; RrAppearance *a_unfocused_pressed_shade; RrAppearance *a_unfocused_pressed_set_shade; + RrAppearance *a_disabled_focused_iconify; + RrAppearance *a_disabled_unfocused_iconify; + RrAppearance *a_hover_focused_iconify; + RrAppearance *a_hover_unfocused_iconify; RrAppearance *a_focused_unpressed_iconify; RrAppearance *a_focused_pressed_iconify; RrAppearance *a_unfocused_unpressed_iconify;