summaryrefslogtreecommitdiff
path: root/render/theme.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-02 06:16:26 +0000
committerDana Jansens <danakj@orodu.net>2003-08-02 06:16:26 +0000
commit3123cf4a9faa050bbdeca099f8ed6ea2752418bb (patch)
tree46e949f135838122c3c6eb549eab2e1cf2b46054 /render/theme.c
parent4a2400c5c2f86cacbf907cfc13488cd212cc3d17 (diff)
use the toggled mask for shade and desk buttons
Diffstat (limited to 'render/theme.c')
-rw-r--r--render/theme.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/render/theme.c b/render/theme.c
index 50df6791..aa8054e8 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -59,6 +59,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
theme->a_menu_item = RrAppearanceNew(inst, 1);
theme->a_menu_disabled = RrAppearanceNew(inst, 1);
theme->a_menu_hilite = RrAppearanceNew(inst, 1);
+ theme->a_clear = RrAppearanceNew(inst, 0);
theme->app_hilite_bg = RrAppearanceNew(inst, 0);
theme->app_unhilite_bg = RrAppearanceNew(inst, 0);
@@ -585,6 +586,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
RrAppearanceCopy(theme->a_focused_pressed_max);
theme->a_icon->surface.grad = RR_SURFACE_PARENTREL;
+ theme->a_clear->surface.grad = RR_SURFACE_PARENTREL;
/* set up the textures */
theme->a_focused_label->texture[0].type =
@@ -718,7 +720,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
theme->desk_mask;
theme->a_toggled_focused_desk->texture[0].data.mask.mask =
theme->a_toggled_unfocused_desk->texture[0].data.mask.mask =
- theme->desk_mask;
+ theme->desk_toggled_mask;
theme->a_disabled_focused_shade->texture[0].data.mask.mask =
theme->a_disabled_unfocused_shade->texture[0].data.mask.mask =
theme->shade_disabled_mask;
@@ -733,7 +735,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
theme->shade_mask;
theme->a_toggled_focused_shade->texture[0].data.mask.mask =
theme->a_toggled_unfocused_shade->texture[0].data.mask.mask =
- theme->shade_mask;
+ theme->shade_toggled_mask;
theme->a_disabled_focused_iconify->texture[0].data.mask.mask =
theme->a_disabled_unfocused_iconify->texture[0].data.mask.mask =
theme->iconify_disabled_mask;
@@ -926,6 +928,7 @@ void RrThemeFree(RrTheme *theme)
RrAppearanceFree(theme->a_menu_item);
RrAppearanceFree(theme->a_menu_disabled);
RrAppearanceFree(theme->a_menu_hilite);
+ RrAppearanceFree(theme->a_clear);
RrAppearanceFree(theme->app_hilite_bg);
RrAppearanceFree(theme->app_unhilite_bg);
RrAppearanceFree(theme->app_hilite_label);