comparison audacious/widgets/skin.c @ 1773:7913bae43086 trunk

[svn] - text and infobar
author nenolod
date Wed, 04 Oct 2006 01:38:46 -0700
parents cb216af25b55
children 17e38b5c8e2f
comparison
equal deleted inserted replaced
1772:cb216af25b55 1773:7913bae43086
565 { 565 {
566 skin->properties.mainwin_vis_y = atoi(tmp); 566 skin->properties.mainwin_vis_y = atoi(tmp);
567 g_free(tmp); 567 g_free(tmp);
568 } 568 }
569 569
570 tmp = read_ini_string(filename, "skin", "mainwinTextX");
571
572 if (tmp != NULL)
573 {
574 skin->properties.mainwin_text_x = atoi(tmp);
575 g_free(tmp);
576 }
577
578 tmp = read_ini_string(filename, "skin", "mainwinTextY");
579
580 if (tmp != NULL)
581 {
582 skin->properties.mainwin_text_y = atoi(tmp);
583 g_free(tmp);
584 }
585
586 tmp = read_ini_string(filename, "skin", "mainwinInfoBarX");
587
588 if (tmp != NULL)
589 {
590 skin->properties.mainwin_infobar_x = atoi(tmp);
591 g_free(tmp);
592 }
593
594 tmp = read_ini_string(filename, "skin", "mainwinInfoBarY");
595
596 if (tmp != NULL)
597 {
598 skin->properties.mainwin_infobar_y = atoi(tmp);
599 g_free(tmp);
600 }
601
570 g_free(filename); 602 g_free(filename);
571 } 603 }
572 604
573 static guint 605 static guint
574 hex_chars_to_int(gchar hi, gchar lo) 606 hex_chars_to_int(gchar hi, gchar lo)