# HG changeset patch # User nenolod # Date 1160388284 25200 # Node ID d8791a0b2902ededf703df44e841c58b804784c7 # Parent c673508130a8283307169b4734897354ded51a2a [svn] - change skin_mask_info[] if the player sizes change. diff -r c673508130a8 -r d8791a0b2902 ChangeLog --- a/ChangeLog Mon Oct 09 02:58:18 2006 -0700 +++ b/ChangeLog Mon Oct 09 03:04:44 2006 -0700 @@ -1,3 +1,12 @@ +2006-10-09 09:58:18 +0000 William Pitcock + revision [2653] + - replace several occurances of MAINWIN_WIDTH with bmp_active_skin->properties.mainwin_width. + + trunk/audacious/mainwin.c | 5 +++-- + trunk/audacious/widgets/skin.c | 2 +- + 2 files changed, 4 insertions(+), 3 deletions(-) + + 2006-10-09 01:17:58 +0000 William Pitcock revision [2651] - update NEWS diff -r c673508130a8 -r d8791a0b2902 audacious/widgets/skin.c --- a/audacious/widgets/skin.c Mon Oct 09 02:58:18 2006 -0700 +++ b/audacious/widgets/skin.c Mon Oct 09 03:04:44 2006 -0700 @@ -945,6 +945,9 @@ g_free(tmp); } + /* XXX: use of skin_mask_info here is bad */ + skin_mask_info[0].width = skin->properties.mainwin_width; + skin->properties.mainwin_height = 116; tmp = read_ini_string(filename, "skin", "mainwinHeight"); @@ -954,6 +957,9 @@ g_free(tmp); } + /* XXX: use of skin_mask_info here is bad */ + skin_mask_info[0].height = skin->properties.mainwin_height; + skin->properties.mainwin_about_x = 247; tmp = read_ini_string(filename, "skin", "mainwinAboutX");