6 typedef struct _RrTheme RrTheme
;
12 const RrInstance
*inst
;
14 /* style settings - geometry */
24 /* style settings - colors */
26 RrColor
*cb_focused_color
;
27 RrColor
*cb_unfocused_color
;
28 RrColor
*title_focused_color
;
29 RrColor
*title_unfocused_color
;
30 RrColor
*titlebut_focused_color
;
31 RrColor
*titlebut_unfocused_color
;
32 RrColor
*menu_title_color
;
34 RrColor
*menu_disabled_color
;
35 RrColor
*menu_hilite_color
;
37 /* style settings - fonts */
40 gint mtitlefont_height
;
45 /* style settings - title layout */
48 /* style settings - masks */
49 RrPixmapMask
*max_set_mask
;
50 RrPixmapMask
*max_unset_mask
;
51 RrPixmapMask
*iconify_mask
;
52 RrPixmapMask
*desk_set_mask
;
53 RrPixmapMask
*desk_unset_mask
;
54 RrPixmapMask
*shade_set_mask
;
55 RrPixmapMask
*shade_unset_mask
;
56 RrPixmapMask
*close_mask
;
58 /* global appearances */
59 RrAppearance
*a_focused_unpressed_max
;
60 RrAppearance
*a_focused_pressed_max
;
61 RrAppearance
*a_focused_pressed_set_max
;
62 RrAppearance
*a_unfocused_unpressed_max
;
63 RrAppearance
*a_unfocused_pressed_max
;
64 RrAppearance
*a_unfocused_pressed_set_max
;
65 RrAppearance
*a_focused_unpressed_close
;
66 RrAppearance
*a_focused_pressed_close
;
67 RrAppearance
*a_unfocused_unpressed_close
;
68 RrAppearance
*a_unfocused_pressed_close
;
69 RrAppearance
*a_focused_unpressed_desk
;
70 RrAppearance
*a_focused_pressed_desk
;
71 RrAppearance
*a_focused_pressed_set_desk
;
72 RrAppearance
*a_unfocused_unpressed_desk
;
73 RrAppearance
*a_unfocused_pressed_desk
;
74 RrAppearance
*a_unfocused_pressed_set_desk
;
75 RrAppearance
*a_focused_unpressed_shade
;
76 RrAppearance
*a_focused_pressed_shade
;
77 RrAppearance
*a_focused_pressed_set_shade
;
78 RrAppearance
*a_unfocused_unpressed_shade
;
79 RrAppearance
*a_unfocused_pressed_shade
;
80 RrAppearance
*a_unfocused_pressed_set_shade
;
81 RrAppearance
*a_focused_unpressed_iconify
;
82 RrAppearance
*a_focused_pressed_iconify
;
83 RrAppearance
*a_unfocused_unpressed_iconify
;
84 RrAppearance
*a_unfocused_pressed_iconify
;
85 RrAppearance
*a_focused_grip
;
86 RrAppearance
*a_unfocused_grip
;
87 RrAppearance
*a_focused_title
;
88 RrAppearance
*a_unfocused_title
;
89 RrAppearance
*a_focused_label
;
90 RrAppearance
*a_unfocused_label
;
91 /* always parentrelative, so no focused/unfocused */
93 RrAppearance
*a_focused_handle
;
94 RrAppearance
*a_unfocused_handle
;
95 RrAppearance
*a_menu_title
;
97 RrAppearance
*a_menu_item
;
98 RrAppearance
*a_menu_disabled
;
99 RrAppearance
*a_menu_hilite
;
101 RrAppearance
*app_hilite_bg
;
102 RrAppearance
*app_unhilite_bg
;
103 RrAppearance
*app_hilite_label
;
104 RrAppearance
*app_unhilite_label
;
105 RrAppearance
*app_icon
;
108 RrTheme
*RrThemeNew(const RrInstance
*inst
, gchar
*theme
);
109 void RrThemeFree(RrTheme
*theme
);