Rev 4894 | Rev 4897 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4894 | Rev 4896 | ||
---|---|---|---|
Line 80... | Line 80... | ||
80 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
80 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
81 | #endif |
81 | #endif |
Line 82... | Line 82... | ||
82 | 82 | ||
Line 83... | Line 83... | ||
83 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
83 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
84 | 84 | ||
85 | #define TITLE "Eolite File Manager v2.3" |
85 | #define TITLE "Eolite File Manager v2.31" |
Line 86... | Line 86... | ||
86 | #define ABOUT_TITLE "Eolite v2.3" |
86 | #define ABOUT_TITLE "Eolite v2.31" |
87 | dword col_padding, col_selec, col_lpanel; |
87 | dword col_padding, col_selec, col_lpanel; |
88 | 88 | ||
Line 123... | Line 123... | ||
123 | 123 | ||
124 | edit_box edit2 = {250,213,80,0xFFFFCC,0x94AECE,0xFFFFCC,0xffffff,0,248,#file_name,#mouse_dd,64,6,6}; |
124 | edit_box edit2 = {250,213,80,0xFFFFCC,0x94AECE,0xFFFFCC,0xffffff,0,248,#file_name,#mouse_dd,64,6,6}; |
125 | PathShow_data PathShow = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, #path, #temp, 0}; |
125 | PathShow_data PathShow = {0, 17,250, 6, 250, 0, 0, 0x0, 0xFFFfff, #path, #temp, 0}; |
Line -... | Line 126... | ||
- | 126 | PathShow_data FileShow = {0, 56,215, 6, 100, 0, 0, 0x0, 0xFFFfff, #file_name, #temp, 0}; |
|
126 | PathShow_data FileShow = {0, 56,215, 6, 100, 0, 0, 0x0, 0xFFFfff, #file_name, #temp, 0}; |
127 | |
127 | 128 | #include "include\mark.h" |
|
128 | #include "include\copy.h" |
129 | #include "include\copy.h" |
129 | #include "include\other.h" |
130 | #include "include\other.h" |
130 | #include "include\sorting.h" |
131 | #include "include\sorting.h" |
Line 162... | Line 163... | ||
162 | 163 | ||
163 | files.line_h=18; |
164 | files.line_h=18; |
164 | mem_Init(); |
165 | mem_Init(); |
165 | if (load_dll2(boxlib, #box_lib_init,0)!=0) notify(ERROR_1); |
166 | if (load_dll2(boxlib, #box_lib_init,0)!=0) notify(ERROR_1); |
- | 167 | SystemDiscsGet(); |
|
166 | SystemDiscsGet(); |
168 | mark_default(); |
167 | GetIni(1); |
169 | GetIni(1); |
168 | SetAppColors(); |
170 | SetAppColors(); |
169 | if (param) |
171 | if (param) |
170 | { |
172 | { |
Line 426... | Line 428... | ||
426 | break; |
428 | break; |
427 | case 182: //del |
429 | case 182: //del |
428 | Del_Form(); |
430 | Del_Form(); |
429 | break; |
431 | break; |
430 | case 185: //ins |
432 | case 185: //ins |
431 | add_to_copy_active=1; |
- | |
432 | add_to_copy(#file_path); |
433 | add_to_mark(#file_path); |
433 | notify("'Eolite\nFile was added to copy queue' -tI"); |
434 | //notify("'Eolite\nFile was added to copy queue' -tI"); |
434 | break; |
435 | break; |
435 | case 050...059: //F1-F10 |
436 | case 050...059: //F1-F10 |
436 | FnProcess(key-49); |
437 | FnProcess(key-49); |
437 | break; |
438 | break; |
438 | default: |
439 | default: |
Line 773... | Line 774... | ||
773 | } |
774 | } |
Line 774... | Line 775... | ||
774 | 775 | ||
775 | 776 | ||
- | 777 | void Del_File(byte dodel) |
|
- | 778 | { |
|
- | 779 | byte del_from[4096]; |
|
- | 780 | int tst, count, j; |
|
776 | void Del_File(byte dodel) |
781 | dword buf; |
777 | { |
782 | |
778 | if (dodel==true) |
783 | if (dodel==true) |
779 | { |
784 | { |
780 | del_active=2; |
785 | del_active=2; |
Line 855... | Line 860... | ||
855 | SelectFile(#cur_folder); |
860 | SelectFile(#cur_folder); |
856 | } |
861 | } |
Line 857... | Line 862... | ||
857 | 862 | ||
858 | void Open() |
863 | void Open() |
- | 864 | { |
|
859 | { |
865 | mark_default(); |
860 | if (!files.count) return; |
866 | if (!files.count) return; |
861 | if (!itdir) |
867 | if (!itdir) |
862 | { |
868 | { |
863 | GetIni(0); |
869 | GetIni(0); |