Mercurial > audlegacy
changeset 1773:7913bae43086 trunk
[svn] - text and infobar
author | nenolod |
---|---|
date | Wed, 04 Oct 2006 01:38:46 -0700 |
parents | cb216af25b55 |
children | 2d97cd03319e |
files | ChangeLog audacious/widgets/skin.c audacious/widgets/skin.h |
diffstat | 3 files changed, 45 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <nenolod@nenolod.net> + 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 <nenolod@nenolod.net> revision [2479] - that should be a lowercase p, not an uppercase one.
--- 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); }
--- 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))