comparison 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
comparison
equal deleted inserted replaced
1785:e360fad09415 1786:4051f893f571
723 { 723 {
724 skin->properties.mainwin_menurow_visible = atoi(tmp); 724 skin->properties.mainwin_menurow_visible = atoi(tmp);
725 g_free(tmp); 725 g_free(tmp);
726 } 726 }
727 727
728 tmp = read_ini_string(filename, "skin", "mainwinVolumeX");
729
730 if (tmp != NULL)
731 {
732 skin->properties.mainwin_volume_x = atoi(tmp);
733 g_free(tmp);
734 }
735
736 tmp = read_ini_string(filename, "skin", "mainwinVolumeY");
737
738 if (tmp != NULL)
739 {
740 skin->properties.mainwin_volume_y = atoi(tmp);
741 g_free(tmp);
742 }
743
744 tmp = read_ini_string(filename, "skin", "mainwinBalanceX");
745
746 if (tmp != NULL)
747 {
748 skin->properties.mainwin_balance_x = atoi(tmp);
749 g_free(tmp);
750 }
751
752 tmp = read_ini_string(filename, "skin", "mainwinBalanceY");
753
754 if (tmp != NULL)
755 {
756 skin->properties.mainwin_balance_y = atoi(tmp);
757 g_free(tmp);
758 }
759
760 tmp = read_ini_string(filename, "skin", "mainwinPositionX");
761
762 if (tmp != NULL)
763 {
764 skin->properties.mainwin_position_x = atoi(tmp);
765 g_free(tmp);
766 }
767
768
769 tmp = read_ini_string(filename, "skin", "mainwinPositionX");
770
771 if (tmp != NULL)
772 {
773 skin->properties.mainwin_position_y = atoi(tmp);
774 g_free(tmp);
775 }
776
728 g_free(filename); 777 g_free(filename);
729 } 778 }
730 779
731 static guint 780 static guint
732 hex_chars_to_int(gchar hi, gchar lo) 781 hex_chars_to_int(gchar hi, gchar lo)