Eolite 1.95: copy window update

git-svn-id: svn://kolibrios.org@3883 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2013-09-01 22:45:38 +00:00
parent 7583ed3727
commit 09b3721183
2 changed files with 11 additions and 9 deletions

View File

@ -35,7 +35,8 @@
?define NOT_CREATE_FOLDER "ŤĄ 㤠«®áě ᮧ¤ âě Ż ŻŞă."
?define NOT_CREATE_FILE "ŤĄ 㤠«®áě ᮧ¤ âě ä ©«."
?define ERROR_1 "Žč¨ˇŞ  Żŕ¨ § Łŕ㧪Ą ˇ¨ˇ«¨®âĄŞ¨ /rd/1/lib/box_lib.obj"
?define T_PASTE_WINDOW "Š®¯¨àãî..."
?define T_PASTE_WINDOW_TEXT "Š®¯¨àã¥âáï ä ©«:"
#else
?define T_FILE "File"
?define T_TYPE "Type"
@ -50,12 +51,14 @@
?define NOT_CREATE_FOLDER "Folder can not be created."
?define NOT_CREATE_FILE "File can not be created."
?define ERROR_1 "Error while loading library /rd/1/lib/box_lib.obj"
?define T_PASTE_WINDOW "Copying..."
?define T_PASTE_WINDOW_TEXT "Copying file:"
#endif
enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir
#define TITLE "Eolite File Manager v1.94"
#define ABOUT_TITLE "Eolite v1.94"
#define TITLE "Eolite File Manager v1.95"
#define ABOUT_TITLE "Eolite v1.95"
dword col_work = 0xE4DFE1;
dword col_border = 0x9098B0; //A0A0B8; //0x819FC5;
dword col_padding = 0xC8C9C9;

View File

@ -4,7 +4,7 @@
byte copy_from[4096], cut_active=0;
enum {NOCUT, CUT};
#define WIN_W 300
#define WIN_H 20
#define WIN_H 50
void Copy(dword pcth, char cut)
@ -14,11 +14,10 @@ void Copy(dword pcth, char cut)
}
void copyf_Action(dword filename) {
DefineAndDrawWindow(5000,0,WIN_W,WIN_H-1,0x01,col_work,0);
DrawBar(WIN_W, 0, 1, WIN_H, 0x333333);
DrawBar(0, 0, WIN_W, WIN_H, 0xDDDddd);
WriteText(5,6, 0x80, 0, "Copying file:");
WriteText(90,6, 0x80, 0, filename);
DefineAndDrawWindow(Form.left+Form.width-200,Form.top+90,WIN_W,GetSkinHeight()+WIN_H-1,0x34,col_work,T_PASTE_WINDOW);
WriteText(5,8, 0x80, 0, T_PASTE_WINDOW_TEXT);
DrawBar(5, 26, WIN_W-10, 10, col_work);
WriteText(5,26, 0x80, 0, filename);
//pause(20);
}