Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5686 → Rev 5687

/programs/cmm/eolite/include/settings.h
7,7 → 7,7
?define TITLE_SETT " áâனª¨"
?define SHOW_DEVICE_CLASS "‚뢮¤¨âì ­ §¢ ­¨ï ª« áá  ãáâனáâ¢"
?define SHOW_REAL_NAMES "®ª §ë¢ âì ¨¬¥­  ä ©«®¢ ­¥ ¬¥­ïï ॣ¨áâà"
?define USE_BIG_FONTS "ˆá¯®«ì§®¢ âì 㢥«¨ç¥­­ë¥ èà¨äâë"
?define USE_BIG_FONTS "®«ì让 èà¨äâ (⮫쪮  ­£«¨©áª¨¥ ᨬ¢®«ë!)"
?define LIST_LINE_HEIGHT "‚ëá®â  áâப¨ ¢ ᯨ᪥"
?define NOTIFY_COPY_END "“¢¥¤®¬«ïâì ® § ¢¥à襭¨¨ ª®¯¨à®¢ ­¨ï"
?define CANCEL_T "Žâ¬¥­ "
18,7 → 18,7
?define TITLE_SETT "Settings"
?define SHOW_DEVICE_CLASS "Show device class name"
?define SHOW_REAL_NAMES "Show real file names without changing case"
?define USE_BIG_FONTS "Use big fonts"
?define USE_BIG_FONTS "Use big fonts (English characters only!)"
?define LIST_LINE_HEIGHT "List line height"
?define NOTIFY_COPY_END "Notify when copying finished"
?define CANCEL_T "Cancel"
86,7 → 86,7
else if (id==20) show_dev_name ^= 1;
else if (id==21) real_files_names_case ^= 1;
else if (id==22) info_after_copy ^= 1;
else if (id==23) use_big_fonts ^= 1;
else if (id==23) { use_big_fonts ^= 1; BigFontsChange(); }
else if (id==25) files.line_h++;
else if (id==26) && (files.line_h>14) files.line_h--;
else if (id==27) MOUSE_TIME++;
136,21 → 136,10
ini_get_int stdcall (eolite_ini_path, #confir_section, "UseBigFonts", 0); use_big_fonts = EAX;
ini_get_int stdcall (eolite_ini_path, #confir_section, "LineHeight", 18); files.line_h = EAX;
ini_get_int stdcall (eolite_ini_path, #confir_section, "TimeDoubleClick", 50); MOUSE_TIME = EAX;
if (use_big_fonts)
{
font_type = 0x90;
PathShow.font_size_x = FileShow.font_size_x = 8;
PathShow.font_number = FileShow.font_number = 1;
BigFontsChange();
}
else
{
font_type=0x80;
PathShow.font_size_x = FileShow.font_size_x = 8;
PathShow.font_number = FileShow.font_number = 0;
}
}
 
 
void SaveIniSettings()
{
ini_set_int stdcall (eolite_ini_path, #confir_section, "ShowDeviceName", show_dev_name);
187,6 → 176,25
}
 
 
void BigFontsChange()
{
if (use_big_fonts)
{
font_type = 10110000b;
font_h = 14;
FileShow.font_size_x = 8;
FileShow.font_number = 3;
}
else
{
font_type=10000000b;
font_h = 6;
FileShow.font_size_x = 6;
FileShow.font_number = 0;
}
}
 
 
void CheckBox2(dword x, y, id, text, byte value) {
CheckBox(x, y, 14, 14, id, text, system.color.work_graph, system.color.work_text, value);
}