Rev 7227 | Rev 7243 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7227 | Rev 7242 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | ?define SHOW_REAL_NAMES "®ª §ë¢ âì ¨¬¥ ä ©«®¢ ¥ ¬¥ïï ॣ¨áâà" |
4 | ?define SHOW_REAL_NAMES "®ª §ë¢ âì ¨¬¥ ä ©«®¢ ¥ ¬¥ïï ॣ¨áâà" |
5 | ?define SHOW_STATUS_BAR "®ª §ë¢ âì áâ âãá ¡ à" |
5 | ?define SHOW_STATUS_BAR "®ª §ë¢ âì áâ âãá ¡ à" |
6 | ?define NOTIFY_COPY_END "¢¥¤®¬«ïâì ® § ¢¥à襨¨ ª®¯¨à®¢ ¨ï" |
6 | ?define NOTIFY_COPY_END "¢¥¤®¬«ïâì ® § ¢¥à襨¨ ª®¯¨à®¢ ¨ï" |
7 | ?define SHOW_BREADCRUMBS "ᯮ«ì§®¢ âì 'å«¥¡ë¥ ªà®èª¨'" |
7 | ?define SHOW_BREADCRUMBS "ᯮ«ì§®¢ âì 'å«¥¡ë¥ ªà®èª¨'" |
8 | ?define USE_TWO_PANELS "¢¥ ¯ ¥«¨" |
8 | ?define BIG_ICONS "ᯮ«ì§®¢ âì ¡®«ì訥 ¨ª®ª¨" |
- | 9 | ?define USE_TWO_PANELS "¢¥ ¯ ¥«¨" |
|
9 | ?define FONT_SIZE_LABEL " §¬¥à èà¨äâ " |
10 | ?define FONT_SIZE_LABEL " §¬¥à èà¨äâ " |
10 | ?define LIST_LINE_HEIGHT "ëá®â áâப¨ ¢ ᯨ᪥" |
11 | ?define LIST_LINE_HEIGHT "ëá®â áâப¨ ¢ ᯨ᪥" |
11 | ?define SAVE_PATH_AS_DEFAULT "¥ªã騩 ¯ãâì" |
12 | ?define SAVE_PATH_AS_DEFAULT "¥ªã騩 ¯ãâì" |
12 | ?define SAVE_START_PATH_AS_DEFAULT "¢¥¤¥ë© ¯ãâì" |
13 | ?define SAVE_START_PATH_AS_DEFAULT "¢¥¤¥ë© ¯ãâì" |
13 | ?define EDIT_FILE_ASSOCIATIONS "¥¤ ªâ¨à®¢ âì áá®æ¨ 樨 ä ©«®¢" |
14 | ?define EDIT_FILE_ASSOCIATIONS "¥¤ ªâ¨à®¢ âì áá®æ¨ 樨 ä ©«®¢" |
Line 18... | Line 19... | ||
18 | ?define SHOW_REAL_NAMES "Show file names in original case" |
19 | ?define SHOW_REAL_NAMES "Show file names in original case" |
19 | ?define SHOW_STATUS_BAR "Show status bar" |
20 | ?define SHOW_STATUS_BAR "Show status bar" |
20 | ?define NOTIFY_COPY_END "Notify when copying finished" |
21 | ?define NOTIFY_COPY_END "Notify when copying finished" |
21 | ?define SHOW_BREADCRUMBS "Show breadcrumbs" |
22 | ?define SHOW_BREADCRUMBS "Show breadcrumbs" |
22 | ?define USE_TWO_PANELS "Two panels" |
23 | ?define BIG_ICONS "Big icons in list" |
- | 24 | ?define USE_TWO_PANELS "Two panels" |
|
23 | ?define FONT_SIZE_LABEL "Font size" |
25 | ?define FONT_SIZE_LABEL "Font size" |
24 | ?define LIST_LINE_HEIGHT "List line height" |
26 | ?define LIST_LINE_HEIGHT "List line height" |
25 | ?define SAVE_PATH_AS_DEFAULT "urrent path" |
27 | ?define SAVE_PATH_AS_DEFAULT "urrent path" |
26 | ?define SAVE_START_PATH_AS_DEFAULT "Typed path" |
28 | ?define SAVE_START_PATH_AS_DEFAULT "Typed path" |
27 | ?define EDIT_FILE_ASSOCIATIONS "Edit file associations" |
29 | ?define EDIT_FILE_ASSOCIATIONS "Edit file associations" |
Line 78... | Line 80... | ||
78 | else if (id==26) && (files.item_h>16) files_inactive.item_h = files.item_h = files.item_h-1; |
80 | else if (id==26) && (files.item_h>16) files_inactive.item_h = files.item_h = files.item_h-1; |
79 | else if (id==27) show_status_bar ^= 1; |
81 | else if (id==27) show_status_bar ^= 1; |
80 | else if (id==30) { kfont.size.pt++; IF(!kfont.changeSIZE()) kfont.size.pt--; BigFontsChange(); } |
82 | else if (id==30) { kfont.size.pt++; IF(!kfont.changeSIZE()) kfont.size.pt--; BigFontsChange(); } |
81 | else if (id==31) { kfont.size.pt--; IF(!kfont.changeSIZE()) kfont.size.pt++; BigFontsChange(); } |
83 | else if (id==31) { kfont.size.pt--; IF(!kfont.changeSIZE()) kfont.size.pt++; BigFontsChange(); } |
82 | EventRedrawWindow(Form.left,Form.top); |
84 | else if (id==33) { |
- | 85 | big_icons ^= 1; |
|
- | 86 | if (big_icons) { |
|
- | 87 | icon_size=32; |
|
- | 88 | files.item_h=34; |
|
- | 89 | if (!icons32_default.image) |
|
- | 90 | { |
|
- | 91 | Libimg_LoadImage(#icons32_default, "/sys/icons32.png"); |
|
- | 92 | Libimg_LoadImage(#icons32_selected, "/sys/icons32.png"); |
|
- | 93 | Libimg_ReplaceColor(icons32_default.image, icons32_selected.w, |
|
- | 94 | icons32_selected.h, 0x00000000, 0xffFFFfff); |
|
- | 95 | Libimg_ReplaceColor(icons32_selected.image, icons32_selected.w, |
|
- | 96 | icons32_selected.h, 0x00000000, col_selec); |
|
- | 97 | } |
|
- | 98 | } |
|
- | 99 | else { |
|
- | 100 | icon_size=16; |
|
- | 101 | files.item_h=18; |
|
- | 102 | } |
|
- | 103 | } |
|
- | 104 | EventRedrawWindow(Form.left,Form.top); |
|
83 | break; |
105 | break; |
84 | 106 | ||
Line 85... | Line 107... | ||
85 | case evKey: |
107 | case evKey: |
86 | GetKeys(); |
108 | GetKeys(); |
Line 89... | Line 111... | ||
89 | edit_box_key stdcall (#path_start_ed); |
111 | edit_box_key stdcall (#path_start_ed); |
90 | break; |
112 | break; |
91 | 113 | ||
Line 92... | Line 114... | ||
92 | case evReDraw: |
114 | case evReDraw: |
93 | DefineAndDrawWindow(Form.cwidth-300/2+Form.left, Form.cheight-292/2+Form.top, 380, |
115 | DefineAndDrawWindow(Form.cwidth-300/2+Form.left, Form.cheight-292/2+Form.top, 400, |
94 | 390+skin_height,0x34,system.color.work,TITLE_SETT,0); |
116 | 410+skin_height,0x34,system.color.work,TITLE_SETT,0); |
95 | DrawSettingsCheckBoxes(); |
117 | DrawSettingsCheckBoxes(); |
96 | } |
118 | } |
97 | } |
119 | } |
98 | } |
120 | } |
Line 114... | Line 136... | ||
114 | CheckBox(x, y.inc(25), 21, SHOW_REAL_NAMES, real_files_names_case); |
136 | CheckBox(x, y.inc(25), 21, SHOW_REAL_NAMES, real_files_names_case); |
115 | CheckBox(x, y.inc(25), 27, SHOW_STATUS_BAR, show_status_bar); |
137 | CheckBox(x, y.inc(25), 27, SHOW_STATUS_BAR, show_status_bar); |
116 | CheckBox(x, y.inc(25), 22, NOTIFY_COPY_END, info_after_copy); |
138 | CheckBox(x, y.inc(25), 22, NOTIFY_COPY_END, info_after_copy); |
117 | CheckBox(x, y.inc(25), 32, SHOW_BREADCRUMBS, show_breadcrumb); |
139 | CheckBox(x, y.inc(25), 32, SHOW_BREADCRUMBS, show_breadcrumb); |
118 | CheckBox(x, y.inc(25), 24, USE_TWO_PANELS, two_panels); |
140 | CheckBox(x, y.inc(25), 33, BIG_ICONS, big_icons); |
- | 141 | CheckBox(x, y.inc(25), 24, USE_TWO_PANELS, two_panels); |
|
119 | MoreLessBox(x, y.inc(31), 30, 31, kfont.size.pt, FONT_SIZE_LABEL); |
142 | MoreLessBox(x, y.inc(31), 30, 31, kfont.size.pt, FONT_SIZE_LABEL); |
120 | MoreLessBox(x, y.inc(31), 25, 26, files.item_h, LIST_LINE_HEIGHT); |
143 | MoreLessBox(x, y.inc(31), 25, 26, files.item_h, LIST_LINE_HEIGHT); |
121 | 144 | ||
Line 122... | Line 145... | ||
122 | DrawFrame(x, y.inc(37), 340, 95, START_PATH); |
145 | DrawFrame(x, y.inc(37), 340, 95, START_PATH); |