Subversion Repositories Kolibri OS

Rev

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

Rev 5674 Rev 5687
Line 5... Line 5...
5
#ifdef LANG_RUS
5
#ifdef LANG_RUS
6
	?define EDIT_FILE_ASSOCIATIONS "¥¤ ªâ¨à®¢ âì  áá®æ¨ æ¨¨ ä ©«®¢"
6
	?define EDIT_FILE_ASSOCIATIONS "¥¤ ªâ¨à®¢ âì  áá®æ¨ æ¨¨ ä ©«®¢"
7
	?define TITLE_SETT " áâனª¨"
7
	?define TITLE_SETT " áâனª¨"
8
	?define SHOW_DEVICE_CLASS "‚뢮¤¨âì ­ §¢ ­¨ï ª« áá  ãáâனáâ¢"
8
	?define SHOW_DEVICE_CLASS "‚뢮¤¨âì ­ §¢ ­¨ï ª« áá  ãáâனáâ¢"
9
	?define SHOW_REAL_NAMES "®ª §ë¢ âì ¨¬¥­  ä ©«®¢ ­¥ ¬¥­ïï ॣ¨áâà"
9
	?define SHOW_REAL_NAMES "®ª §ë¢ âì ¨¬¥­  ä ©«®¢ ­¥ ¬¥­ïï ॣ¨áâà"
10
	?define USE_BIG_FONTS "ˆá¯®«ì§®¢ âì 㢥«¨ç¥­­ë¥ èà¨äâë"
10
	?define USE_BIG_FONTS "®«ì让 èà¨äâ (⮫쪮  ­£«¨©áª¨¥ ᨬ¢®«ë!)"
11
	?define LIST_LINE_HEIGHT "‚ëá®â  áâப¨ ¢ ᯨ᪥"
11
	?define LIST_LINE_HEIGHT "‚ëá®â  áâப¨ ¢ ᯨ᪥"
12
	?define NOTIFY_COPY_END "“¢¥¤®¬«ïâì ® § ¢¥à襭¨¨ ª®¯¨à®¢ ­¨ï"
12
	?define NOTIFY_COPY_END "“¢¥¤®¬«ïâì ® § ¢¥à襭¨¨ ª®¯¨à®¢ ­¨ï"
13
	?define CANCEL_T "Žâ¬¥­ "
13
	?define CANCEL_T "Žâ¬¥­ "
14
	?define APPLY_T "à¨¬¥­¨âì"
14
	?define APPLY_T "à¨¬¥­¨âì"
15
	?define T_DOUBLE_CLICK "‚à¥¬ï ¤¢®©­®£® ª«¨ª  (¢ á®âëå)"
15
	?define T_DOUBLE_CLICK "‚à¥¬ï ¤¢®©­®£® ª«¨ª  (¢ á®âëå)"
16
#else
16
#else
17
	?define EDIT_FILE_ASSOCIATIONS "Edit file associations"
17
	?define EDIT_FILE_ASSOCIATIONS "Edit file associations"
18
	?define TITLE_SETT "Settings"
18
	?define TITLE_SETT "Settings"
19
	?define SHOW_DEVICE_CLASS "Show device class name"
19
	?define SHOW_DEVICE_CLASS "Show device class name"
20
	?define SHOW_REAL_NAMES "Show real file names without changing case"
20
	?define SHOW_REAL_NAMES "Show real file names without changing case"
21
	?define USE_BIG_FONTS "Use big fonts"
21
	?define USE_BIG_FONTS "Use big fonts (English characters only!)"
22
	?define LIST_LINE_HEIGHT "List line height"
22
	?define LIST_LINE_HEIGHT "List line height"
23
	?define NOTIFY_COPY_END "Notify when copying finished"
23
	?define NOTIFY_COPY_END "Notify when copying finished"
24
	?define CANCEL_T "Cancel"
24
	?define CANCEL_T "Cancel"
25
	?define APPLY_T "Apply"
25
	?define APPLY_T "Apply"
26
	?define T_DOUBLE_CLICK "Double click time (in hundredths)"
26
	?define T_DOUBLE_CLICK "Double click time (in hundredths)"
Line 84... Line 84...
84
					break;
84
					break;
85
				}
85
				}
86
				else if (id==20) show_dev_name ^= 1;
86
				else if (id==20) show_dev_name ^= 1;
87
				else if (id==21) real_files_names_case ^= 1;
87
				else if (id==21) real_files_names_case ^= 1;
88
				else if (id==22) info_after_copy ^= 1;
88
				else if (id==22) info_after_copy ^= 1;
89
				else if (id==23) use_big_fonts ^= 1;
89
				else if (id==23) { use_big_fonts ^= 1; BigFontsChange(); }
90
				else if (id==25) files.line_h++;
90
				else if (id==25) files.line_h++;
91
				else if (id==26) && (files.line_h>14) files.line_h--;
91
				else if (id==26) && (files.line_h>14) files.line_h--;
92
				else if (id==27) MOUSE_TIME++;
92
				else if (id==27) MOUSE_TIME++;
93
				else if (id==28) && (MOUSE_TIME>29) MOUSE_TIME--;
93
				else if (id==28) && (MOUSE_TIME>29) MOUSE_TIME--;
94
				EventRedrawWindow(Form.left,Form.top);
94
				EventRedrawWindow(Form.left,Form.top);
Line 134... Line 134...
134
	ini_get_int stdcall   (eolite_ini_path, #confir_section, "RealFileNamesCase", 0); real_files_names_case = EAX;
134
	ini_get_int stdcall   (eolite_ini_path, #confir_section, "RealFileNamesCase", 0); real_files_names_case = EAX;
135
	ini_get_int stdcall   (eolite_ini_path, #confir_section, "InfoAfterCopy",     0); info_after_copy = EAX;
135
	ini_get_int stdcall   (eolite_ini_path, #confir_section, "InfoAfterCopy",     0); info_after_copy = EAX;
136
	ini_get_int stdcall   (eolite_ini_path, #confir_section, "UseBigFonts",       0); use_big_fonts = EAX;
136
	ini_get_int stdcall   (eolite_ini_path, #confir_section, "UseBigFonts",       0); use_big_fonts = EAX;
137
	ini_get_int stdcall   (eolite_ini_path, #confir_section, "LineHeight",       18); files.line_h = EAX;
137
	ini_get_int stdcall   (eolite_ini_path, #confir_section, "LineHeight",       18); files.line_h = EAX;
138
	ini_get_int stdcall   (eolite_ini_path, #confir_section, "TimeDoubleClick",  50); MOUSE_TIME = EAX;
138
	ini_get_int stdcall   (eolite_ini_path, #confir_section, "TimeDoubleClick",  50); MOUSE_TIME = EAX;
139
	
-
 
140
	if (use_big_fonts) 
-
 
141
	{
-
 
142
		font_type = 0x90;
-
 
143
		PathShow.font_size_x = FileShow.font_size_x = 8;
-
 
144
		PathShow.font_number = FileShow.font_number = 1;
-
 
145
	}
-
 
146
	else
-
 
147
	{
-
 
148
		font_type=0x80;
139
	BigFontsChange();
149
		PathShow.font_size_x = FileShow.font_size_x = 8;
-
 
150
		PathShow.font_number = FileShow.font_number = 0;
-
 
151
	} 
-
 
152
}
140
}
Line -... Line 141...
-
 
141
 
153
 
142
 
154
void SaveIniSettings()
143
void SaveIniSettings()
155
{
144
{
156
	ini_set_int stdcall (eolite_ini_path, #confir_section, "ShowDeviceName", show_dev_name);
145
	ini_set_int stdcall (eolite_ini_path, #confir_section, "ShowDeviceName", show_dev_name);
157
	ini_set_int stdcall (eolite_ini_path, #confir_section, "RealFileNamesCase", real_files_names_case);
146
	ini_set_int stdcall (eolite_ini_path, #confir_section, "RealFileNamesCase", real_files_names_case);
Line 185... Line 174...
185
	//col_selec   = 0x94AECE;
174
	//col_selec   = 0x94AECE;
186
	col_lpanel  = 0x00699C;
175
	col_lpanel  = 0x00699C;
187
}
176
}
Line -... Line 177...
-
 
177
 
-
 
178
 
-
 
179
void BigFontsChange()
-
 
180
{
-
 
181
	if (use_big_fonts) 
-
 
182
	{
-
 
183
		font_type = 10110000b;
-
 
184
		font_h = 14;
-
 
185
		FileShow.font_size_x = 8;
-
 
186
		FileShow.font_number = 3;
-
 
187
	}
-
 
188
	else
-
 
189
	{
-
 
190
		font_type=10000000b;
-
 
191
		font_h = 6;
-
 
192
		FileShow.font_size_x = 6;
-
 
193
		FileShow.font_number = 0;
-
 
194
	} 
-
 
195
}
188
 
196
 
189
 
197
 
190
void CheckBox2(dword x, y, id, text, byte value) {
198
void CheckBox2(dword x, y, id, text, byte value) {
191
	CheckBox(x, y, 14, 14, id, text, system.color.work_graph, system.color.work_text, value);
199
	CheckBox(x, y, 14, 14, id, text, system.color.work_graph, system.color.work_text, value);