Mercurial > audlegacy
diff audacious/widgets/skin.c @ 1786:4051f893f571 trunk
[svn] - add:
[skin.hints:mainwinVolumeX], [skin.hints:mainwinVolumeY]
[skin.hints:mainwinBalanceX], [skin.hints:mainwinBalanceY]
[skin.hints:mainwinPositionX], [skin.hints:mainwinPositionY]
author | nenolod |
---|---|
date | Wed, 04 Oct 2006 16:00:03 -0700 |
parents | e360fad09415 |
children | 80b6282a31ae |
line wrap: on
line diff
--- a/audacious/widgets/skin.c Wed Oct 04 15:33:17 2006 -0700 +++ b/audacious/widgets/skin.c Wed Oct 04 16:00:03 2006 -0700 @@ -725,6 +725,55 @@ g_free(tmp); } + tmp = read_ini_string(filename, "skin", "mainwinVolumeX"); + + if (tmp != NULL) + { + skin->properties.mainwin_volume_x = atoi(tmp); + g_free(tmp); + } + + tmp = read_ini_string(filename, "skin", "mainwinVolumeY"); + + if (tmp != NULL) + { + skin->properties.mainwin_volume_y = atoi(tmp); + g_free(tmp); + } + + tmp = read_ini_string(filename, "skin", "mainwinBalanceX"); + + if (tmp != NULL) + { + skin->properties.mainwin_balance_x = atoi(tmp); + g_free(tmp); + } + + tmp = read_ini_string(filename, "skin", "mainwinBalanceY"); + + if (tmp != NULL) + { + skin->properties.mainwin_balance_y = atoi(tmp); + g_free(tmp); + } + + tmp = read_ini_string(filename, "skin", "mainwinPositionX"); + + if (tmp != NULL) + { + skin->properties.mainwin_position_x = atoi(tmp); + g_free(tmp); + } + + + tmp = read_ini_string(filename, "skin", "mainwinPositionX"); + + if (tmp != NULL) + { + skin->properties.mainwin_position_y = atoi(tmp); + g_free(tmp); + } + g_free(filename); }