Subversion Repositories Kolibri OS

Rev

Rev 7493 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7493 Rev 7872
Line 1... Line 1...
1
_ini ini = { "/sys/settings/app.ini", "Txtread" };
1
_ini ini = { "/sys/settings/app.ini", "Txtread" };
Line 2... Line 2...
2
 
2
 
3
void LoadIniSettings()
3
void LoadIniSettings()
4
{
4
{
5
	kfont.size.pt = ini.GetInt("FontSize", 14); 
5
	kfont.size.pt = ini.GetInt("FontSize", 14); 
6
	encoding      = ini.GetInt("Encoding", CH_CP866);
6
	encoding      = ini.GetInt("Encoding", CH_AUTO);
7
	curcol_scheme = ini.GetInt("ColorScheme", 2);
7
	curcol_scheme = ini.GetInt("ColorScheme", 2);
8
	Form.left     = ini.GetInt("WinX", 150); 
8
	Form.left     = ini.GetInt("WinX", 150); 
9
	Form.top      = ini.GetInt("WinY", 50); 
9
	Form.top      = ini.GetInt("WinY", 50); 
10
	Form.width    = ini.GetInt("WinW", 640); 
10
	Form.width    = ini.GetInt("WinW", 640);