9 extern gint theme_bevel
;
10 extern gint theme_handle_height
;
11 extern gint theme_bwidth
;
12 extern gint theme_cbwidth
;
14 #define theme_label_height (theme_winfont_height)
15 #define theme_title_height (theme_label_height + theme_bevel * 2)
16 #define theme_button_size (theme_label_height - 2)
17 #define theme_grip_width (theme_button_size * 2)
19 extern color_rgb
*theme_b_color
;
20 extern color_rgb
*theme_cb_focused_color
;
21 extern color_rgb
*theme_cb_unfocused_color
;
22 extern color_rgb
*theme_title_focused_color
;
23 extern color_rgb
*theme_title_unfocused_color
;
24 extern color_rgb
*theme_titlebut_focused_color
;
25 extern color_rgb
*theme_titlebut_unfocused_color
;
27 extern gint theme_winfont_height
;
28 extern RrFont
*theme_winfont
;
29 extern gchar
*theme_title_layout
;
31 extern RrPixmapMask
*theme_max_set_mask
;
32 extern RrPixmapMask
*theme_max_unset_mask
;
33 extern RrPixmapMask
*theme_iconify_mask
;
34 extern RrPixmapMask
*theme_desk_set_mask
;
35 extern RrPixmapMask
*theme_desk_unset_mask
;
36 extern RrPixmapMask
*theme_shade_set_mask
;
37 extern RrPixmapMask
*theme_shade_unset_mask
;
38 extern RrPixmapMask
*theme_close_mask
;
40 extern RrAppearance
*theme_a_focused_unpressed_max
;
41 extern RrAppearance
*theme_a_focused_pressed_max
;
42 extern RrAppearance
*theme_a_focused_pressed_set_max
;
43 extern RrAppearance
*theme_a_unfocused_unpressed_max
;
44 extern RrAppearance
*theme_a_unfocused_pressed_max
;
45 extern RrAppearance
*theme_a_unfocused_pressed_set_max
;
46 extern RrAppearance
*theme_a_focused_unpressed_close
;
47 extern RrAppearance
*theme_a_focused_pressed_close
;
48 extern RrAppearance
*theme_a_unfocused_unpressed_close
;
49 extern RrAppearance
*theme_a_unfocused_pressed_close
;
50 extern RrAppearance
*theme_a_focused_unpressed_desk
;
51 extern RrAppearance
*theme_a_focused_pressed_desk
;
52 extern RrAppearance
*theme_a_focused_pressed_set_desk
;
53 extern RrAppearance
*theme_a_unfocused_unpressed_desk
;
54 extern RrAppearance
*theme_a_unfocused_pressed_desk
;
55 extern RrAppearance
*theme_a_unfocused_pressed_set_desk
;
56 extern RrAppearance
*theme_a_focused_unpressed_shade
;
57 extern RrAppearance
*theme_a_focused_pressed_shade
;
58 extern RrAppearance
*theme_a_focused_pressed_set_shade
;
59 extern RrAppearance
*theme_a_unfocused_unpressed_shade
;
60 extern RrAppearance
*theme_a_unfocused_pressed_shade
;
61 extern RrAppearance
*theme_a_unfocused_pressed_set_shade
;
62 extern RrAppearance
*theme_a_focused_unpressed_iconify
;
63 extern RrAppearance
*theme_a_focused_pressed_iconify
;
64 extern RrAppearance
*theme_a_unfocused_unpressed_iconify
;
65 extern RrAppearance
*theme_a_unfocused_pressed_iconify
;
66 extern RrAppearance
*theme_a_focused_grip
;
67 extern RrAppearance
*theme_a_unfocused_grip
;
68 extern RrAppearance
*theme_a_focused_title
;
69 extern RrAppearance
*theme_a_unfocused_title
;
70 extern RrAppearance
*theme_a_focused_label
;
71 extern RrAppearance
*theme_a_unfocused_label
;
72 extern RrAppearance
*theme_a_icon
;
73 extern RrAppearance
*theme_a_focused_handle
;
74 extern RrAppearance
*theme_a_unfocused_handle
;
75 extern RrAppearance
*theme_a_menu_title
;
76 extern RrAppearance
*theme_a_menu
;
77 extern RrAppearance
*theme_a_menu_item
;
78 extern RrAppearance
*theme_a_menu_disabled
;
79 extern RrAppearance
*theme_a_menu_hilite
;
81 extern RrAppearance
*theme_app_hilite_bg
;
82 extern RrAppearance
*theme_app_unhilite_bg
;
83 extern RrAppearance
*theme_app_hilite_label
;
84 extern RrAppearance
*theme_app_unhilite_label
;
85 extern RrAppearance
*theme_app_icon
;
87 void theme_startup(const RrInstance
*inst
);
88 void theme_shutdown();
90 gchar
*theme_load(gchar
*theme
);