# HG changeset patch # User nenolod # Date 1159951126 25200 # Node ID 7913bae430869daae34c31f50ce2eea55fd8b963 # Parent cb216af25b55100d5dc7ee84b11d629af5b50cf2 [svn] - text and infobar diff -r cb216af25b55 -r 7913bae43086 ChangeLog --- a/ChangeLog Wed Oct 04 01:35:28 2006 -0700 +++ b/ChangeLog Wed Oct 04 01:38:46 2006 -0700 @@ -1,3 +1,12 @@ +2006-10-04 08:35:28 +0000 William Pitcock + revision [2501] + - framework for repositioning the vis element on the skin. + + trunk/audacious/widgets/skin.c | 24 +++++++++++++++++++++++- + trunk/audacious/widgets/skin.h | 2 ++ + 2 files changed, 25 insertions(+), 1 deletion(-) + + 2006-10-03 17:39:17 +0000 William Pitcock revision [2479] - that should be a lowercase p, not an uppercase one. diff -r cb216af25b55 -r 7913bae43086 audacious/widgets/skin.c --- a/audacious/widgets/skin.c Wed Oct 04 01:35:28 2006 -0700 +++ b/audacious/widgets/skin.c Wed Oct 04 01:38:46 2006 -0700 @@ -567,6 +567,38 @@ g_free(tmp); } + tmp = read_ini_string(filename, "skin", "mainwinTextX"); + + if (tmp != NULL) + { + skin->properties.mainwin_text_x = atoi(tmp); + g_free(tmp); + } + + tmp = read_ini_string(filename, "skin", "mainwinTextY"); + + if (tmp != NULL) + { + skin->properties.mainwin_text_y = atoi(tmp); + g_free(tmp); + } + + tmp = read_ini_string(filename, "skin", "mainwinInfoBarX"); + + if (tmp != NULL) + { + skin->properties.mainwin_infobar_x = atoi(tmp); + g_free(tmp); + } + + tmp = read_ini_string(filename, "skin", "mainwinInfoBarY"); + + if (tmp != NULL) + { + skin->properties.mainwin_infobar_y = atoi(tmp); + g_free(tmp); + } + g_free(filename); } diff -r cb216af25b55 -r 7913bae43086 audacious/widgets/skin.h --- a/audacious/widgets/skin.h Wed Oct 04 01:35:28 2006 -0700 +++ b/audacious/widgets/skin.h Wed Oct 04 01:38:46 2006 -0700 @@ -75,6 +75,10 @@ gboolean mainwin_othertext; gint mainwin_vis_x; gint mainwin_vis_y; + gint mainwin_text_x; + gint mainwin_text_y; + gint mainwin_infobar_x; + gint mainwin_infobar_y; } SkinProperties; #define SKIN_PIXMAP(x) ((SkinPixmap *)(x))