comparison audacious/widgets/skin.c @ 1836:a1089ea6f436 trunk

[svn] - implement textboxBitmapFontWidth and textboxBitmapFontHeight for defining the size of a cell in the textbox character grid
author nenolod
date Thu, 05 Oct 2006 20:18:41 -0700
parents 3da01efb3225
children c673508130a8
comparison
equal deleted inserted replaced
1835:fab086733722 1836:a1089ea6f436
1042 { 1042 {
1043 skin->properties.mainwin_plbutton_y = atoi(tmp); 1043 skin->properties.mainwin_plbutton_y = atoi(tmp);
1044 g_free(tmp); 1044 g_free(tmp);
1045 } 1045 }
1046 1046
1047 skin->properties.textbox_bitmap_font_width = 5;
1048 tmp = read_ini_string(filename, "skin", "textboxBitmapFontWidth");
1049
1050 if (tmp != NULL)
1051 {
1052 skin->properties.textbox_bitmap_font_width = atoi(tmp);
1053 g_free(tmp);
1054 }
1055
1056 skin->properties.textbox_bitmap_font_height = 6;
1057 tmp = read_ini_string(filename, "skin", "textboxBitmapFontHeight");
1058
1059 if (tmp != NULL)
1060 {
1061 skin->properties.textbox_bitmap_font_height = atoi(tmp);
1062 g_free(tmp);
1063 }
1064
1047 if (filename != NULL) 1065 if (filename != NULL)
1048 g_free(filename); 1066 g_free(filename);
1049 } 1067 }
1050 1068
1051 static guint 1069 static guint