Mercurial > audlegacy
changeset 3075:5854741efa0d
some skins have SKIN_MONOSTEREO with size 58x20
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Fri, 13 Jul 2007 23:56:12 +0200 |
parents | 081a24e2cafb |
children | 7f1f6688c32c |
files | src/audacious/widgets/skin.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/widgets/skin.c Fri Jul 13 23:26:11 2007 +0200 +++ b/src/audacious/widgets/skin.c Fri Jul 13 23:56:12 2007 +0200 @@ -1626,6 +1626,11 @@ skin->properties.mainwin_volume_x, skin->properties.mainwin_volume_y, pixmap->width, ydest, width - pixmap->width, height); width = pixmap->width; + } else if (pixmap_id == SKIN_MONOSTEREO) { + /* XMMS skins seems to have SKIN_MONOSTEREO with size 58x20 instead of 58x24 */ + gdk_draw_drawable(drawable, gc, skin_get_pixmap(bmp_active_skin, SKIN_MAIN)->pixmap, + 212 + xdest, 41, xdest, ydest, width, height); + height = pixmap->height; } else return; }