47,8 → 47,8 |
else if (id==26) && (files.line_h>18) files.line_h--; |
else if (id==27) MOUSE_TIME++; |
else if (id==28) && (MOUSE_TIME>29) MOUSE_TIME--; |
else if (id==30) && (font_size<22) { font_size++; BigFontsChange(); } |
else if (id==31) && (font_size>9) { font_size--; BigFontsChange(); } |
else if (id==30) && (font.size.text<22) { font.size.text++; BigFontsChange(); } |
else if (id==31) && (font.size.text>9) { font.size.text--; BigFontsChange(); } |
SaveIniSettings(); |
EventRedrawWindow(Form.left,Form.top); |
DrawSettingsCheckBoxes(); |
69,6 → 69,7 |
|
void ExitSettings() |
{ |
active_settings=0; |
settings_window = 0; |
cmd_free = 4; |
SaveIniSettings(); |
83,7 → 84,7 |
CheckBox2(10, 77, 24, USE_TWO_PANELS, two_panels); |
MoreLessBox(10, 103, 18, 27, 28, #system.color, MOUSE_TIME, T_DOUBLE_CLICK); |
MoreLessBox(10, 130, 18, 25, 26, #system.color, files.line_h, LIST_LINE_HEIGHT); |
if (font.data) MoreLessBox(10, 157, 18, 30, 31, #system.color, font_size, FONT_SIZE_LABEL); |
if (font.data) MoreLessBox(10, 157, 18, 30, 31, #system.color, font.size.text, FONT_SIZE_LABEL); |
} |
|
|
93,7 → 94,7 |
ini_get_int stdcall (eolite_ini_path, #config_section, "ShowDeviceName", 1); show_dev_name = EAX; |
ini_get_int stdcall (eolite_ini_path, #config_section, "RealFileNamesCase", 0); real_files_names_case = EAX; |
ini_get_int stdcall (eolite_ini_path, #config_section, "InfoAfterCopy", 0); info_after_copy = EAX; |
ini_get_int stdcall (eolite_ini_path, #config_section, "FontSize", 9); font_size = EAX; |
ini_get_int stdcall (eolite_ini_path, #config_section, "FontSize", 9); font.size.text = EAX; |
ini_get_int stdcall (eolite_ini_path, #config_section, "TwoPanels", 0); two_panels = EAX; |
ini_get_int stdcall (eolite_ini_path, #config_section, "LineHeight", 18); files.line_h = EAX; |
ini_get_int stdcall (eolite_ini_path, #config_section, "TimeDoubleClick", 50); MOUSE_TIME = EAX; |
102,8 → 103,6 |
ini_get_int stdcall (eolite_ini_path, #config_section, "WinW", 550); WinW = EAX; |
ini_get_int stdcall (eolite_ini_path, #config_section, "WinH", 500); WinH = EAX; |
BigFontsChange(); |
font.no_bg_copy = true; |
font.load("/sys/font/Tahoma.kf"); |
} |
|
|
112,7 → 111,7 |
ini_set_int stdcall (eolite_ini_path, #config_section, "ShowDeviceName", show_dev_name); |
ini_set_int stdcall (eolite_ini_path, #config_section, "RealFileNamesCase", real_files_names_case); |
ini_set_int stdcall (eolite_ini_path, #config_section, "InfoAfterCopy", info_after_copy); |
ini_set_int stdcall (eolite_ini_path, #config_section, "FontSize", font_size); |
ini_set_int stdcall (eolite_ini_path, #config_section, "FontSize", font.size.text); |
ini_set_int stdcall (eolite_ini_path, #config_section, "TwoPanels", two_panels); |
ini_set_int stdcall (eolite_ini_path, #config_section, "LineHeight", files.line_h); |
ini_set_int stdcall (eolite_ini_path, #config_section, "TimeDoubleClick", MOUSE_TIME); |