Rev 4846 | Rev 4860 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4846 | Rev 4859 | ||
---|---|---|---|
Line 79... | Line 79... | ||
79 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
79 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
80 | #endif |
80 | #endif |
Line 81... | Line 81... | ||
81 | 81 | ||
Line 82... | Line 82... | ||
82 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
82 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
83 | 83 | ||
84 | #define TITLE "Eolite File Manager v2.18" |
84 | #define TITLE "Eolite File Manager v2.19" |
Line 85... | Line 85... | ||
85 | #define ABOUT_TITLE "Eolite v2.18" |
85 | #define ABOUT_TITLE "Eolite v2.19" |
86 | dword col_padding, col_selec, col_lpanel; |
86 | dword col_padding, col_selec, col_lpanel; |
87 | 87 | ||
Line 594... | Line 594... | ||
594 | dword text_col=0, |
594 | dword text_col=0, |
595 | name_len=0, |
595 | name_len=0, |
596 | attr, |
596 | attr, |
597 | ext1, |
597 | ext1, |
598 | y=filenum*files.line_h+files.y; |
598 | y=filenum*files.line_h+files.y; |
- | 599 | if (filenum==-1) return; |
|
599 | DrawBar(files.x,y,3,files.line_h,color); |
600 | DrawBar(files.x,y,3,files.line_h,color); |
600 | DrawBar(files.x+19,y,files.w-19,files.line_h,color); |
601 | DrawBar(files.x+19,y,files.w-19,files.line_h,color); |
601 | DrawBar(files.x+3,y+17,16,1,color); |
602 | DrawBar(files.x+3,y+17,16,1,color); |
602 | if (files.line_h>18) DrawBar(files.x+3,y+18,16,files.line_h-18,color); |
603 | if (files.line_h>18) DrawBar(files.x+3,y+18,16,files.line_h-18,color); |
603 | if (files.line_h>15) DrawBar(files.x+3,y,16,files.line_h-15,color); |
604 | if (files.line_h>15) DrawBar(files.x+3,y,16,files.line_h-15,color); |
Line 656... | Line 657... | ||
656 | Write_Error(errornum); |
657 | Write_Error(errornum); |
657 | return; |
658 | return; |
658 | } |
659 | } |
659 | maxcount = sizeof(file_mas)/sizeof(dword)-1; |
660 | maxcount = sizeof(file_mas)/sizeof(dword)-1; |
660 | if (files.count>maxcount) files.count = maxcount; |
661 | if (files.count>maxcount) files.count = maxcount; |
- | 662 | if (files.count>0) && (files.current==-1) files.current=0; |
|
661 | if (drw_ram_disk_space) DrawRamDiskSpace(); |
663 | if (drw_ram_disk_space) DrawRamDiskSpace(); |
662 | } |
664 | } |
663 | if (files.count!=-1) |
665 | if (files.count!=-1) |
664 | { |
666 | { |
665 | KEdit(); |
667 | KEdit(); |