Mercurial > audlegacy
changeset 4131:1f4302ac4bba
set mask on shade/unshade
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 30 Dec 2007 12:46:13 +0100 |
parents | c2039c3004d6 |
children | bfb987da66f0 |
files | src/audacious/ui_equalizer.c src/audacious/ui_main.c |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_equalizer.c Fri Dec 28 20:42:56 2007 +0100 +++ b/src/audacious/ui_equalizer.c Sun Dec 30 12:46:13 2007 +0100 @@ -160,6 +160,8 @@ gtk_widget_hide(equalizerwin_volume); gtk_widget_hide(equalizerwin_balance); } + + gtk_widget_shape_combine_mask(equalizerwin, skin_get_mask(bmp_active_skin, SKIN_MASK_EQ + cfg.equalizer_shaded), 0, 0); } static void
--- a/src/audacious/ui_main.c Fri Dec 28 20:42:56 2007 +0100 +++ b/src/audacious/ui_main.c Sun Dec 30 12:46:13 2007 +0100 @@ -256,6 +256,7 @@ mainwin_refresh_hints(); ui_skinned_set_push_button_data(mainwin_shade, 0, cfg.player_shaded ? 27 : 18, 9, cfg.player_shaded ? 27 : 18); + gtk_widget_shape_combine_mask(mainwin, skin_get_mask(bmp_active_skin, SKIN_MASK_MAIN + cfg.player_shaded), 0, 0); } static void