Subversion Repositories Kolibri OS

Rev

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

Rev 5761 Rev 5767
Line 86... Line 86...
86
 
86
 
Line 87... Line 87...
87
 
87
 
88
void LoadIniSettings()
88
void LoadIniSettings()
-
 
89
{
89
{
90
	files.SetFont(6, 9, 10000000b);
-
 
91
	FileShow.font_size_x = files.font_w;
90
	ini_get_color stdcall (eolite_ini_path, #config_section, "SelectionColor",   0x94AECE); col_selec = EAX;
92
	FileShow.font_number = 0;
91
	ini_get_int stdcall   (eolite_ini_path, #config_section, "ShowDeviceName",    1); show_dev_name = EAX;
93
	ini_get_int stdcall   (eolite_ini_path, #config_section, "ShowDeviceName",    1); show_dev_name = EAX;
92
	ini_get_int stdcall   (eolite_ini_path, #config_section, "RealFileNamesCase", 0); real_files_names_case = EAX;
94
	ini_get_int stdcall   (eolite_ini_path, #config_section, "RealFileNamesCase", 0); real_files_names_case = EAX;
93
	ini_get_int stdcall   (eolite_ini_path, #config_section, "InfoAfterCopy",     0); info_after_copy = EAX;
95
	ini_get_int stdcall   (eolite_ini_path, #config_section, "InfoAfterCopy",     0); info_after_copy = EAX;
94
	ini_get_int stdcall   (eolite_ini_path, #config_section, "FontSize",          9); font.size.text = EAX;
96
	ini_get_int stdcall   (eolite_ini_path, #config_section, "FontSize",          9); font.size.text = EAX;
Line 98... Line 100...
98
	ini_get_int stdcall   (eolite_ini_path, #config_section, "WinX", 200); WinX = EAX;
100
	ini_get_int stdcall   (eolite_ini_path, #config_section, "WinX", 200); WinX = EAX;
99
	ini_get_int stdcall   (eolite_ini_path, #config_section, "WinY", 50); WinY = EAX;
101
	ini_get_int stdcall   (eolite_ini_path, #config_section, "WinY", 50); WinY = EAX;
100
	ini_get_int stdcall   (eolite_ini_path, #config_section, "WinW", 550); WinW = EAX;
102
	ini_get_int stdcall   (eolite_ini_path, #config_section, "WinW", 550); WinW = EAX;
101
	ini_get_int stdcall   (eolite_ini_path, #config_section, "WinH", 500); WinH = EAX;
103
	ini_get_int stdcall   (eolite_ini_path, #config_section, "WinH", 500); WinH = EAX;
102
	BigFontsChange();
104
}
103
	files.SetFont(6, 6, 10000000b);
-
 
104
	FileShow.font_size_x = files.font_w;
-
 
105
	FileShow.font_number = 0;
-
 
106
}
-
 
107
 
105
 
Line 108... Line 106...
108
 
106
 
109
void SaveIniSettings()
107
void SaveIniSettings()
Line 141... Line 139...
141
	system.color.work_graph  = 0x9098B0; //A0A0B8; //0x819FC5;
139
	system.color.work_graph  = 0x9098B0; //A0A0B8; //0x819FC5;
142
	system.color.work_button = 0xD2D3D3;
140
	system.color.work_button = 0xD2D3D3;
143
	system.color.work_button_text = 0x000000;
141
	system.color.work_button_text = 0x000000;
144
	col_padding = 0xC8C9C9;
142
	col_padding = 0xC8C9C9;
145
	//col_selec   = 0x94AECE;
143
	col_selec   = 0x94AECE;
146
	col_lpanel  = 0x00699C;
144
	col_lpanel  = 0x00699C;
147
}
145
}
148
 
146
 
Line 149... Line 147...
149
 
147
 
150
void BigFontsChange()
148
void BigFontsChange()
151
{
149
{
152
	files.line_h = font.height + 4;
150
	files.line_h = font.size.text + 4;
153
	if (files.line_h<18) files.line_h = 18;
151
	if (files.line_h<18) files.line_h = 18;
154
	files_active.line_h = files_inactive.line_h = files.line_h;
152
	files_active.line_h = files_inactive.line_h = files.line_h;