# HG changeset patch # User nenolod # Date 1159951501 25200 # Node ID 2d97cd03319eb7c65b3436ba6bb842b3717de4ee # Parent 7913bae430869daae34c31f50ce2eea55fd8b963 [svn] - allow elements to be repositioned if they are mentioned in skin.hints diff -r 7913bae43086 -r 2d97cd03319e ChangeLog --- a/ChangeLog Wed Oct 04 01:38:46 2006 -0700 +++ b/ChangeLog Wed Oct 04 01:45:01 2006 -0700 @@ -1,3 +1,12 @@ +2006-10-04 08:38:46 +0000 William Pitcock + revision [2503] + - text and infobar + + trunk/audacious/widgets/skin.c | 32 ++++++++++++++++++++++++++++++++ + trunk/audacious/widgets/skin.h | 4 ++++ + 2 files changed, 36 insertions(+) + + 2006-10-04 08:35:28 +0000 William Pitcock revision [2501] - framework for repositioning the vis element on the skin. diff -r 7913bae43086 -r 2d97cd03319e audacious/mainwin.c --- a/audacious/mainwin.c Wed Oct 04 01:38:46 2006 -0700 +++ b/audacious/mainwin.c Wed Oct 04 01:45:01 2006 -0700 @@ -827,6 +827,18 @@ widget_show(WIDGET(mainwin_monostereo)); widget_hide(WIDGET(mainwin_othertext)); } + + if (bmp_active_skin->properties.mainwin_vis_x && bmp_active_skin->properties.mainwin_vis_y) + widget_move(WIDGET(mainwin_vis), bmp_active_skin->properties.mainwin_vis_x, + bmp_active_skin->properties.mainwin_vis_y); + + if (bmp_active_skin->properties.mainwin_text_x && bmp_active_skin->properties.mainwin_text_y) + widget_move(WIDGET(mainwin_info), bmp_active_skin->properties.mainwin_text_x, + bmp_active_skin->properties.mainwin_text_y); + + if (bmp_active_skin->properties.mainwin_infobar_x && bmp_active_skin->properties.mainwin_infobar_y) + widget_move(WIDGET(mainwin_othertext), bmp_active_skin->properties.mainwin_infobar_x, + bmp_active_skin->properties.mainwin_infobar_y); } void