Rev 5606 | Rev 5609 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5606 | Rev 5608 | ||
---|---|---|---|
Line 144... | Line 144... | ||
144 | sort_num=2, |
144 | sort_num=2, |
145 | itdir; |
145 | itdir; |
Line 146... | Line 146... | ||
146 | 146 | ||
Line -... | Line 147... | ||
- | 147 | dword eolite_ini_path; |
|
- | 148 | ||
147 | dword eolite_ini_path; |
149 | dword menu_stak,about_stak,properties_stak,settings_stak,copy_stak; |
148 | 150 | ||
149 | proc_info Form; |
151 | proc_info Form; |
150 | system_colors sc; |
152 | system_colors sc; |
151 | mouse m; |
153 | mouse m; |
Line 176... | Line 178... | ||
176 | #include "include\menu.h" |
178 | #include "include\menu.h" |
177 | #include "include\about.h" |
179 | #include "include\about.h" |
178 | #include "include\settings.h" |
180 | #include "include\settings.h" |
179 | #include "include\properties.h" |
181 | #include "include\properties.h" |
Line 180... | Line -... | ||
180 | - | ||
Line 181... | Line 182... | ||
181 | dword menu_stak,about_stak,properties_stak,settings_stak,copy_stak; |
182 | |
182 | 183 | ||
183 | void main() |
184 | void main() |
184 | { |
185 | { |
Line 375... | Line 376... | ||
375 | { |
376 | { |
376 | files.first=files.current=NULL; //aaa?o nienea |
377 | files.first=files.current=NULL; //aaa?o nienea |
377 | Open_Dir(#path,WITH_REDRAW); |
378 | Open_Dir(#path,WITH_REDRAW); |
378 | } |
379 | } |
379 | break; |
380 | break; |
380 | case 23: //up! |
381 | case 23: |
381 | Dir_Up(); |
382 | Dir_Up(); |
382 | break; |
383 | break; |
383 | case 24: //cut |
384 | case 24: |
384 | Copy(#file_path, CUT); |
385 | Copy(#file_path, CUT); |
385 | break; |
386 | break; |
386 | case 25: //copy |
387 | case 25: |
387 | Copy(#file_path, NOCUT); |
388 | Copy(#file_path, NOCUT); |
388 | break; |
389 | break; |
389 | case 26: //paste |
390 | case 26: |
390 | copy_stak = malloc(4096); |
391 | Paste(); |
391 | CreateThread(#Paste,copy_stak+4092); |
- | |
392 | break; |
392 | break; |
393 | case 31...33: //sort |
393 | case 31...33: //sort |
394 | if(sort_num==1) DrawFilledBar(sorting_arrow_x,42,6,10); |
394 | if(sort_num==1) DrawFilledBar(sorting_arrow_x,42,6,10); |
395 | if(sort_num==2) DrawFilledBar(sorting_arrow_x,42,6,10); |
395 | if(sort_num==2) DrawFilledBar(sorting_arrow_x,42,6,10); |
396 | if(sort_num==3) DrawFilledBar(sorting_arrow_x,42,6,10); |
396 | if(sort_num==3) DrawFilledBar(sorting_arrow_x,42,6,10); |
Line 459... | Line 459... | ||
459 | break; |
459 | break; |
460 | case 003: //Ctrl+C |
460 | case 003: //Ctrl+C |
461 | Copy(#file_path, NOCUT); |
461 | Copy(#file_path, NOCUT); |
462 | break; |
462 | break; |
463 | case 022: //Ctrl+V |
463 | case 022: //Ctrl+V |
464 | copy_stak = malloc(4096); |
464 | Paste(); |
465 | CreateThread(#Paste,copy_stak+4092); |
- | |
466 | break; |
465 | break; |
467 | case 001: //Ctrl+A |
466 | case 001: //Ctrl+A |
468 | debugln("press Ctrl+A"); |
467 | debugln("press Ctrl+A"); |
469 | for (i=0; i |
468 | for (i=0; i |
470 | { |
469 | { |
Line 599... | Line 598... | ||
599 | if (id==201) ShowOpenWithDialog(); |
598 | if (id==201) ShowOpenWithDialog(); |
600 | if (id==202) FnProcess(3); //F3 |
599 | if (id==202) FnProcess(3); //F3 |
601 | if (id==203) FnProcess(4); //F4 |
600 | if (id==203) FnProcess(4); //F4 |
602 | if (id==104) Copy(#file_path, NOCUT); |
601 | if (id==104) Copy(#file_path, NOCUT); |
603 | if (id==105) Copy(#file_path, CUT); |
602 | if (id==105) Copy(#file_path, CUT); |
604 | if (id==106) |
603 | if (id==106) Paste(); |
605 | { |
- | |
606 | copy_stak = malloc(4096); |
- | |
607 | CreateThread(#Paste,copy_stak+4092); |
- | |
608 | } |
- | |
609 | if (id==207) FnProcess(2); |
604 | if (id==207) FnProcess(2); |
610 | if (id==108) Del_Form(); |
605 | if (id==108) Del_Form(); |
611 | if (id==109) FnProcess(5); |
606 | if (id==109) FnProcess(5); |
612 | if (id==110) FnProcess(8); |
607 | if (id==110) FnProcess(8); |
613 | if (id==300) |
608 | if (id==300) |