Mercurial > audlegacy
diff audacious/mainwin.c @ 1774:2d97cd03319e trunk
[svn] - allow elements to be repositioned if they are mentioned in skin.hints
| author | nenolod |
|---|---|
| date | Wed, 04 Oct 2006 01:45:01 -0700 |
| parents | 50d5ef36b035 |
| children | 7d32dff734da |
line wrap: on
line diff
--- 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
