Rev 5526 | Rev 5549 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5526 | Rev 5532 | ||
---|---|---|---|
Line 93... | Line 93... | ||
93 | ?define DEL_MORE_FILES_2 " pcs.)?" |
93 | ?define DEL_MORE_FILES_2 " pcs.)?" |
94 | #endif |
94 | #endif |
Line 95... | Line 95... | ||
95 | 95 | ||
Line 96... | Line 96... | ||
96 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
96 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
97 | 97 | ||
98 | #define TITLE "Eolite File Manager v2.66" |
98 | #define TITLE "Eolite File Manager v2.7" |
Line 99... | Line 99... | ||
99 | #define ABOUT_TITLE "Eolite v2.66" |
99 | #define ABOUT_TITLE "Eolite v2.7" |
100 | dword col_padding, col_selec, col_lpanel; |
100 | dword col_padding, col_selec, col_lpanel; |
Line 119... | Line 119... | ||
119 | byte |
119 | byte |
120 | rename_active=0, |
120 | rename_active=0, |
121 | del_active=0, |
121 | del_active=0, |
122 | show_dev_name=1, |
122 | show_dev_name=1, |
123 | real_files_names_case=0, |
123 | real_files_names_case=0, |
- | 124 | use_big_fonts=0, |
|
- | 125 | font_type, |
|
124 | info_after_copy=0, |
126 | info_after_copy=0, |
125 | sort_num=2, |
127 | sort_num=2, |
126 | itdir; |
128 | itdir; |
Line 127... | Line 129... | ||
127 | 129 | ||
Line 128... | Line 130... | ||
128 | dword eolite_ini_path; |
130 | dword eolite_ini_path; |
129 | 131 | ||
130 | proc_info Form; |
132 | proc_info Form; |
131 | system_colors sc; |
133 | system_colors sc; |
132 | mouse m; |
134 | mouse m; |
133 | int mouse_dd, scroll_used, scroll_size, sorting_arrow_x, kolibrios_drive; |
135 | int mouse_dd, scroll_used, sc_slider_h, sorting_arrow_x, kolibrios_drive; |
134 | dword buf; |
136 | dword buf; |
135 | dword file_mas[6898]; |
137 | dword file_mas[6898]; |
136 | int j, i; |
138 | int j, i; |
Line 268... | Line 270... | ||
268 | if (!m.lkm) && (scroll_used) { scroll_used=NULL; Scroll(); } |
270 | if (!m.lkm) && (scroll_used) { scroll_used=NULL; Scroll(); } |
269 | if (m.x>=Form.width-26) && (m.x<=Form.width-6) && (m.y>56) && (m.y |
271 | if (m.x>=Form.width-26) && (m.x<=Form.width-6) && (m.y>56) && (m.y |
Line 270... | Line 272... | ||
270 | 272 | ||
271 | if (scroll_used) |
273 | if (scroll_used) |
272 | { |
274 | { |
273 | IF (scroll_size/2+files.y>m.y) || (m.y<0) || (m.y>4000) m.y=scroll_size/2+files.y; //anee eo?ni? iaa ieiii |
275 | IF (sc_slider_h/2+files.y>m.y) || (m.y<0) || (m.y>4000) m.y=sc_slider_h/2+files.y; //anee eo?ni? iaa ieiii |
274 | id=files.first; |
276 | id=files.first; |
275 | j= scroll_size/2; |
277 | j= sc_slider_h/2; |
276 | files.first = m.y -j -files.y * files.count; |
278 | files.first = m.y -j -files.y * files.count; |
277 | files.first /= onTop(22,files.y); |
279 | files.first /= onTop(22,files.y); |
278 | IF (files.visible+files.first>files.count) files.first=files.count-files.visible; |
280 | IF (files.visible+files.first>files.count) files.first=files.count-files.visible; |
279 | IF (id!=files.first) List_ReDraw(); |
281 | IF (id!=files.first) List_ReDraw(); |
Line 651... | Line 653... | ||
651 | file_name_off = file_offet+40; |
653 | file_name_off = file_offet+40; |
Line 652... | Line 654... | ||
652 | 654 | ||
653 | if (! TestBit(attr, 4) ) //file or folder? |
655 | if (! TestBit(attr, 4) ) //file or folder? |
654 | { |
656 | { |
655 | Put_icon(file_name_off+_strrchr(file_name_off,'.'), files.x+3, files.line_h/2-7+y, color, 0); |
657 | Put_icon(file_name_off+_strrchr(file_name_off,'.'), files.x+3, files.line_h/2-7+y, color, 0); |
656 | WriteText(7-strlen(ConvertSize(file.sizelo))*6+Form.cwidth - 76,files.line_h-6/2+y,0x80,0,ConvertSize(file.sizelo)); |
658 | WriteText(7-strlen(ConvertSize(file.sizelo))*6+Form.cwidth - 76,files.line_h-6/2+y,font_type,0,ConvertSize(file.sizelo)); |
657 | } |
659 | } |
658 | else |
660 | else |
659 | { |
661 | { |
660 | if (strcmp("..",file_name_off)==0) ext1=".."; else ext1=" |
662 | if (strcmp("..",file_name_off)==0) ext1=".."; else ext1=" |