Rev 3980 | Rev 3997 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3980 | Rev 3991 | ||
---|---|---|---|
Line 71... | Line 71... | ||
71 | ?define T_PASTE_WINDOW_TEXT "Copying file:" |
71 | ?define T_PASTE_WINDOW_TEXT "Copying file:" |
72 | #endif |
72 | #endif |
Line 73... | Line 73... | ||
73 | 73 | ||
Line 74... | Line 74... | ||
74 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
74 | enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir |
75 | 75 | ||
76 | #define TITLE "Eolite File Manager v1.97" |
76 | #define TITLE "Eolite File Manager v1.97.2" |
77 | #define ABOUT_TITLE "Eolite v1.97" |
77 | #define ABOUT_TITLE "Eolite v1.97.2" |
78 | dword col_work = 0xE4DFE1; |
78 | dword col_work = 0xE4DFE1; |
79 | dword col_border = 0x9098B0; //A0A0B8; //0x819FC5; |
79 | dword col_border = 0x9098B0; //A0A0B8; //0x819FC5; |
80 | dword col_padding = 0xC8C9C9; |
80 | dword col_padding = 0xC8C9C9; |
Line 638... | Line 638... | ||
638 | } |
638 | } |
Line 639... | Line 639... | ||
639 | 639 | ||
640 | 640 | ||
641 | void Del_Form() |
641 | void Del_Form() |
642 | { |
- | |
643 | int dform_x = files.w - 200 / 2 + files.x; |
642 | { |
644 | //oeia ieii |
- | |
645 | if (!files.count) return; |
643 | int dform_x = files.w - 200 / 2 + files.x-3; |
646 | #ifdef LANG_RUS |
- | |
647 | DrawFlatButton(dform_x,160,215,80,0,col_work, ""); //oi?ia |
- | |
648 | #else |
- | |
649 | DrawFlatButton(dform_x,160,200,80,0,col_work, ""); //oi?ia |
644 | if (!files.count) return; |
650 | #endif |
645 | DrawPopup(dform_x,160,213,80,1,col_work,col_border); |
651 | WriteText(dform_x+19,175,0x80,0,T_DELETE_FILE); |
646 | WriteText(-strlen(T_DELETE_FILE)*3+107+dform_x,175,0x80,0,T_DELETE_FILE); |
652 | IF (strlen(#file_name)<28) |
647 | IF (strlen(#file_name)<28) |
653 | { |
648 | { |
654 | WriteText(strlen(#file_name)*6+dform_x+20,190,0x80,0,"?"); |
649 | WriteText(strlen(#file_name)*3+107+dform_x+2,190,0x80,0,"?"); |
655 | WriteText(dform_x+20,190,0x80,0,#file_name); //ieoai eiy |
650 | WriteText(-strlen(#file_name)*3+107+dform_x,190,0x80,0,#file_name); |
656 | } |
651 | } |
657 | ELSE |
652 | else |
658 | { |
653 | { |
659 | WriteText(164+dform_x,190,0x80,0,"...?"); |
654 | WriteText(164+dform_x,190,0x80,0,"...?"); |
660 | ESI = 24; |
655 | ESI = 24; |
661 | WriteText(dform_x+20,190,0,0,#file_name); //ieoai eiy |
656 | WriteText(dform_x+20,190,0,0,#file_name); |
662 | } |
657 | } |
663 | DrawFlatButton(dform_x+20,208,70,20,301,0xFFB6B5,T_YES); |
658 | DrawFlatButton(dform_x+26,208,70,20,301,0xFFB6B5,T_YES); |
664 | DrawFlatButton(dform_x+111,208,70,20,302,0xC6DFC6,T_NO); |
659 | DrawFlatButton(dform_x+119,208,70,20,302,0xC6DFC6,T_NO); |
Line 665... | Line 660... | ||
665 | del_active=1; |
660 | del_active=1; |