Rev 5443 | Rev 5447 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5443 | Rev 5444 | ||
---|---|---|---|
Line 81... | Line 81... | ||
81 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
81 | ?define T_SELECT_APP_TO_OPEN_WITH "Select application to open file" |
82 | #endif |
82 | #endif |
Line 83... | Line 83... | ||
83 | 83 | ||
Line 84... | Line 84... | ||
84 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
84 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
85 | 85 | ||
86 | #define TITLE "Eolite File Manager v2.51" |
86 | #define TITLE "Eolite File Manager v2.5" |
Line 87... | Line 87... | ||
87 | #define ABOUT_TITLE "Eolite v2.51" |
87 | #define ABOUT_TITLE "Eolite v2.52" |
88 | dword col_padding, col_selec, col_lpanel; |
88 | dword col_padding, col_selec, col_lpanel; |
89 | 89 | ||
Line 500... | Line 500... | ||
500 | DrawRectangle(1,40,Form.cwidth-3,onTop(46,0),sc.work_graph); |
500 | DrawRectangle(1,40,Form.cwidth-3,onTop(46,0),sc.work_graph); |
501 | DrawRectangle(0,39,Form.cwidth-1,onTop(44,0),col_palette[4]); //bg |
501 | DrawRectangle(0,39,Form.cwidth-1,onTop(44,0),col_palette[4]); //bg |
502 | for (i=0; i<5; i++) DrawBar(0, 34+i, Form.cwidth, 1, col_palette[8-i]); |
502 | for (i=0; i<5; i++) DrawBar(0, 34+i, Form.cwidth, 1, col_palette[8-i]); |
503 | DrawLeftPanel(); |
503 | DrawLeftPanel(); |
504 | //ListBox |
504 | //ListBox |
505 | DrawFlatButton(files.x,40,Form.cwidth + files.x - 159,16,31,sc.work,T_FILE); |
505 | DrawFlatButton(files.x,40,Form.cwidth - files.x - 159,16,31,sc.work,T_FILE); |
506 | DrawFlatButton(Form.cwidth + 159,40,73,16,32,sc.work,T_TYPE); |
506 | DrawFlatButton(Form.cwidth - 159,40,73,16,32,sc.work,T_TYPE); |
507 | DrawFlatButton(Form.cwidth + 96,40,68,16,33,sc.work,T_SIZE); |
507 | DrawFlatButton(Form.cwidth - 86,40,68,16,33,sc.work,T_SIZE); |
508 | DrawBar(files.x+files.w,files.y,1,onTop(22,files.y),sc.work_graph); //line to the left from the scroll |
508 | DrawBar(files.x+files.w,files.y,1,onTop(22,files.y),sc.work_graph); //line to the left from the scroll |
509 | DrawFlatButton(files.x+files.w,40,16,16,0,sc.work,"\x18"); |
509 | DrawFlatButton(files.x+files.w,40,16,16,0,sc.work,"\x18"); |
510 | DrawFlatButton(files.x+files.w,onTop(22,0),16,16,0,sc.work,"\x19"); |
510 | DrawFlatButton(files.x+files.w,onTop(22,0),16,16,0,sc.work,"\x19"); |
511 | Open_Dir(#path,ONLY_SHOW); |
511 | Open_Dir(#path,ONLY_SHOW); |
512 | if (del_active) Del_Form(); |
512 | if (del_active) Del_Form(); |
Line 887... | Line 887... | ||
887 | strcpy(#cur_folder, #path+i); |
887 | strcpy(#cur_folder, #path+i); |
888 | path[i]=0x00; |
888 | path[i]=0x00; |
889 | SelectFile(#cur_folder); |
889 | SelectFile(#cur_folder); |
890 | } |
890 | } |
Line 891... | Line 891... | ||
891 | 891 | ||
892 | void Open(int rez) |
892 | void Open(byte rez) |
893 | { |
893 | { |
894 | byte temp[4096]; |
894 | byte temp[4096]; |
895 | if (rez) |
895 | if (rez) |
896 | { |
896 | { |