changeset 1849:d8791a0b2902 trunk

[svn] - change skin_mask_info[] if the player sizes change.
author nenolod
date Mon, 09 Oct 2006 03:04:44 -0700
parents c673508130a8
children 1014e22133e2
files ChangeLog audacious/widgets/skin.c
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <nenolod@nenolod.net>
+  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 <nenolod@nenolod.net>
   revision [2651]
   - update NEWS
--- 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");