Rev 5591 | Rev 5607 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5591 | Rev 5606 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | 37 | ||
Line 38... | Line 38... | ||
38 | dword save_show_dev_name,save_real_files_names_case, save_info_after_copy, save_use_big_fonts, save_files_h, save_DBLTime; |
38 | dword save_show_dev_name,save_real_files_names_case, save_info_after_copy, save_use_big_fonts, save_files_h, save_DBLTime; |
39 | 39 | ||
- | 40 | if (active_settings){ |
|
40 | if (active_settings){ |
41 | EXIT_SETTING: |
41 | EXIT_SETTING: |
42 | |
42 | show_dev_name = save_show_dev_name; |
43 | show_dev_name = save_show_dev_name; |
43 | real_files_names_case = save_real_files_names_case; |
44 | real_files_names_case = save_real_files_names_case; |
44 | info_after_copy = save_info_after_copy; |
45 | info_after_copy = save_info_after_copy; |
45 | use_big_fonts = save_use_big_fonts; |
46 | use_big_fonts = save_use_big_fonts; |
- | 47 | files.line_h = save_files_h; |
|
46 | files.line_h = save_files_h; |
48 | MOUSE_TIME = save_DBLTime; |
- | 49 | ||
47 | MOUSE_TIME = save_DBLTime; |
50 | cmd_free = 4; |
48 | cmd_free = 4; |
51 | |
49 | ExitProcess(); |
52 | ExitProcess(); |
Line 50... | Line 53... | ||
50 | } |
53 | } |
Line 62... | Line 65... | ||
62 | { |
65 | { |
63 | case evButton: |
66 | case evButton: |
64 | id=GetButtonID(); |
67 | id=GetButtonID(); |
65 | if (id==10) |
68 | if (id==10) |
66 | { |
69 | { |
67 | SaveIniSettings(); |
70 | //SaveIniSettings(); |
68 | active_settings=0; |
71 | active_settings=0; |
69 | action_buf = 300; |
72 | action_buf = 300; |
70 | cmd_free = 4; |
73 | cmd_free = 4; |
71 | ExitProcess(); |
74 | ExitProcess(); |
72 | } |
75 | } |
Line 86... | Line 89... | ||
86 | else if (id==23) use_big_fonts ^= 1; |
89 | else if (id==23) use_big_fonts ^= 1; |
87 | else if (id==25) files.line_h++; |
90 | else if (id==25) files.line_h++; |
88 | else if (id==26) && (files.line_h>14) files.line_h--; |
91 | else if (id==26) && (files.line_h>14) files.line_h--; |
89 | else if (id==27) MOUSE_TIME++; |
92 | else if (id==27) MOUSE_TIME++; |
90 | else if (id==28) && (MOUSE_TIME>29) MOUSE_TIME--; |
93 | else if (id==28) && (MOUSE_TIME>29) MOUSE_TIME--; |
91 | //CMD_REFRESH = true; |
- | |
92 | MoveSize(-1,-1,-1,settings_form.height+1); |
- | |
93 | MoveSize(-1,-1,-1,settings_form.height); |
94 | EventRedrawWindow(Form.left,Form.top); |
94 | DrawSettingsCheckBoxes(); |
95 | DrawSettingsCheckBoxes(); |
95 | break; |
96 | break; |
Line 96... | Line 97... | ||
96 | 97 | ||
97 | case evKey: |
98 | case evKey: |