Rev 7491 | Rev 7634 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7491 | Rev 7628 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifdef LANG_RUS |
1 | #ifdef LANG_RUS |
2 | ?define TITLE_SETT " áâனª¨" |
2 | ?define TITLE_SETT " áâனª¨" |
3 | ?define SHOW_DEVICE_CLASS "뢮¤¨âì §¢ ¨ï ª« áá ãáâனáâ¢" |
3 | ?define SHOW_DEVICE_CLASS "뢮¤¨âì §¢ ¨ï ª« áá ãáâனáâ¢" |
4 | ?define SHOW_REAL_NAMES "®ª §ë¢ âì ¨¬¥ ä ©«®¢ ¥ ¬¥ïï ॣ¨áâà" |
- | |
5 | ?define SHOW_STATUS_BAR "®ª §ë¢ âì áâ âãá ¡ à" |
4 | ?define SHOW_STATUS_BAR "®ª §ë¢ âì áâ âãá ¡ à" |
6 | ?define NOTIFY_COPY_END "¢¥¤®¬«ïâì ® § ¢¥à襨¨ ª®¯¨à®¢ ¨ï" |
5 | ?define NOTIFY_COPY_END "¢¥¤®¬«ïâì ® § ¢¥à襨¨ ª®¯¨à®¢ ¨ï" |
7 | ?define SHOW_BREADCRUMBS "ᯮ«ì§®¢ âì 'å«¥¡ë¥ ªà®èª¨'" |
6 | ?define SHOW_BREADCRUMBS "ᯮ«ì§®¢ âì 'å«¥¡ë¥ ªà®èª¨'" |
8 | ?define BIG_ICONS "ᯮ«ì§®¢ âì ¡®«ì訥 ¨ª®ª¨" |
7 | ?define BIG_ICONS "ᯮ«ì§®¢ âì ¡®«ì訥 ¨ª®ª¨" |
9 | ?define USE_TWO_PANELS "¢¥ ¯ ¥«¨" |
8 | ?define USE_TWO_PANELS "¢¥ ¯ ¥«¨" |
Line 16... | Line 15... | ||
16 | ?define START_PATH " â àâ®¢ë© ¯ãâì: " |
15 | ?define START_PATH " â àâ®¢ë© ¯ãâì: " |
17 | #else |
16 | #else |
18 | ?define TITLE_SETT "Settings" |
17 | ?define TITLE_SETT "Settings" |
19 | ?define SHOW_DEVICE_CLASS "Show device class name" |
18 | ?define SHOW_DEVICE_CLASS "Show device class name" |
20 | ?define SHOW_REAL_NAMES "Show file names in original case" |
19 | ?define SHOW_STATUS_BAR "Show status bar" |
21 | ?define SHOW_STATUS_BAR "Show status bar" |
- | |
22 | ?define NOTIFY_COPY_END "Notify when copying finished" |
20 | ?define NOTIFY_COPY_END "Notify when copying finished" |
23 | ?define SHOW_BREADCRUMBS "Show breadcrumbs" |
21 | ?define SHOW_BREADCRUMBS "Show breadcrumbs" |
24 | ?define BIG_ICONS "Big icons in list" |
22 | ?define BIG_ICONS "Big icons in list" |
25 | ?define USE_TWO_PANELS "Two panels" |
23 | ?define USE_TWO_PANELS "Two panels" |
26 | ?define COLORED_LINES "Highlight even lines in list" |
24 | ?define COLORED_LINES "Highlight even lines in list" |
Line 38... | Line 36... | ||
38 | 36 | ||
Line 39... | Line 37... | ||
39 | more_less_box font_size = { NULL, 9, 22, FONT_SIZE_LABEL }; |
37 | more_less_box font_size = { NULL, 9, 22, FONT_SIZE_LABEL }; |
40 | more_less_box line_height = { NULL, 16, 64, LIST_LINE_HEIGHT }; |
38 | more_less_box line_height = { NULL, 16, 64, LIST_LINE_HEIGHT }; |
41 | checkbox show_dev_name = { SHOW_DEVICE_CLASS }; |
39 | checkbox show_dev_name = { SHOW_DEVICE_CLASS }; |
42 | checkbox show_real_names = { SHOW_REAL_NAMES }; |
- | |
43 | checkbox show_status_bar = { SHOW_STATUS_BAR }; |
40 | checkbox show_status_bar = { SHOW_STATUS_BAR }; |
44 | checkbox info_after_copy = { NOTIFY_COPY_END }; |
41 | checkbox info_after_copy = { NOTIFY_COPY_END }; |
45 | checkbox show_breadcrumb = { SHOW_BREADCRUMBS }; |
42 | checkbox show_breadcrumb = { SHOW_BREADCRUMBS }; |
46 | checkbox big_icons = { BIG_ICONS }; |
43 | checkbox big_icons = { BIG_ICONS }; |
47 | checkbox two_panels = { USE_TWO_PANELS }; |
44 | checkbox two_panels = { USE_TWO_PANELS }; |
Line 84... | Line 81... | ||
84 | SetDefaultPath(#path_start); |
81 | SetDefaultPath(#path_start); |
85 | break; |
82 | break; |
86 | } |
83 | } |
87 | show_dev_name.click(id); |
84 | show_dev_name.click(id); |
88 | if (show_real_names.click(id)) action_buf=109; |
85 | info_after_copy.click(id); |
89 | info_after_copy.click(id); |
- | |
90 | two_panels.click(id); |
86 | two_panels.click(id); |
91 | show_breadcrumb.click(id); |
87 | show_breadcrumb.click(id); |
92 | show_status_bar.click(id); |
88 | show_status_bar.click(id); |
93 | colored_lines.click(id); |
89 | colored_lines.click(id); |
94 | if (font_size.click(id)) { |
90 | if (font_size.click(id)) { |
Line 131... | Line 127... | ||
131 | incn y; |
127 | incn y; |
132 | int x=11, frx=26, but_x; |
128 | int x=11, frx=26, but_x; |
133 | y.n = 0; |
129 | y.n = 0; |
134 | show_dev_name.draw(x, y.inc(14)); |
130 | show_dev_name.draw(x, y.inc(14)); |
135 | show_real_names.draw(x, y.inc(25)); |
131 | show_status_bar.draw(x, y.inc(25)); |
136 | show_status_bar.draw(x, y.inc(25)); |
- | |
137 | info_after_copy.draw(x, y.inc(25)); |
132 | info_after_copy.draw(x, y.inc(25)); |
138 | show_breadcrumb.draw(x, y.inc(25)); |
133 | show_breadcrumb.draw(x, y.inc(25)); |
139 | big_icons.draw(x, y.inc(25)); |
134 | big_icons.draw(x, y.inc(25)); |
140 | two_panels.draw(x, y.inc(25)); |
135 | two_panels.draw(x, y.inc(25)); |
141 | colored_lines.draw(x, y.inc(25)); |
136 | colored_lines.draw(x, y.inc(25)); |
Line 158... | Line 153... | ||
158 | ini.path = GetIni(#eolite_ini_path, "app.ini"); |
153 | ini.path = GetIni(#eolite_ini_path, "app.ini"); |
159 | ini.section = "Eolite"; |
154 | ini.section = "Eolite"; |
160 | 155 | ||
Line 161... | Line 156... | ||
161 | files.SetFont(6, 9, 10000000b); |
156 | files.SetFont(6, 9, 10000000b); |
162 | show_real_names.checked = ini.GetInt("RealFileNamesCase", true); |
- | |
163 | show_dev_name.checked = ini.GetInt("ShowDeviceName", true); |
157 | show_dev_name.checked = ini.GetInt("ShowDeviceName", true); |
164 | show_status_bar.checked = ini.GetInt("ShowStatusBar", true); |
158 | show_status_bar.checked = ini.GetInt("ShowStatusBar", true); |
165 | info_after_copy.checked = ini.GetInt("InfoAfterCopy", false); |
159 | info_after_copy.checked = ini.GetInt("InfoAfterCopy", false); |
166 | big_icons.checked = ini.GetInt("BigIcons", false); BigIconsSwitch(); |
160 | big_icons.checked = ini.GetInt("BigIcons", false); BigIconsSwitch(); |
167 | two_panels.checked = ini.GetInt("TwoPanels", false); |
161 | two_panels.checked = ini.GetInt("TwoPanels", false); |
Line 186... | Line 180... | ||
186 | void SaveIniSettings() |
180 | void SaveIniSettings() |
187 | { |
181 | { |
188 | ini.SetInt("ShowDeviceName", show_dev_name.checked); |
182 | ini.SetInt("ShowDeviceName", show_dev_name.checked); |
189 | ini.SetInt("ShowStatusBar", show_status_bar.checked); |
183 | ini.SetInt("ShowStatusBar", show_status_bar.checked); |
190 | ini.SetInt("RealFileNamesCase", show_real_names.checked); |
- | |
191 | ini.SetInt("InfoAfterCopy", info_after_copy.checked); |
184 | ini.SetInt("InfoAfterCopy", info_after_copy.checked); |
192 | ini.SetInt("BigIcons", big_icons.checked); |
185 | ini.SetInt("BigIcons", big_icons.checked); |
193 | ini.SetInt("TwoPanels", two_panels.checked); |
186 | ini.SetInt("TwoPanels", two_panels.checked); |
194 | ini.SetInt("ColoredLines", colored_lines.checked); |
187 | ini.SetInt("ColoredLines", colored_lines.checked); |
195 | ini.SetInt("FontSize", kfont.size.pt); |
188 | ini.SetInt("FontSize", kfont.size.pt); |