Subversion Repositories Kolibri OS

Rev

Rev 3876 | Rev 3878 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3876 Rev 3877
Line 52... Line 52...
52
	?define ERROR_1 "Error while loading library /rd/1/lib/box_lib.obj"
52
	?define ERROR_1 "Error while loading library /rd/1/lib/box_lib.obj"
53
#endif
53
#endif
Line 54... Line 54...
54
 
54
 
Line 55... Line 55...
55
enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir
55
enum {ONLY_SHOW, WITH_REDRAW, ONLY_OPEN}; //OpenDir
56
 
56
 
57
#define TITLE "Eolite File Manager v1.93"
57
#define TITLE "Eolite File Manager v1.94"
58
#define ABOUT_TITLE "Eolite v1.93"
58
#define ABOUT_TITLE "Eolite v1.94"
59
dword col_work    = 0xE4DFE1;
59
dword col_work    = 0xE4DFE1;
60
dword col_border  = 0x9098B0; //A0A0B8; //0x819FC5;
60
dword col_border  = 0x9098B0; //A0A0B8; //0x819FC5;
61
dword col_padding = 0xC8C9C9;
61
dword col_padding = 0xC8C9C9;
Line 127... Line 127...
127
			IF (del_active) break;		
127
			IF (del_active) break;		
128
			id=GetProcessSlot(Form.ID); 
128
			id=GetProcessSlot(Form.ID); 
129
			IF (id!=GetActiveProcess()) || (Form.status_window>2) break;
129
			IF (id!=GetActiveProcess()) || (Form.status_window>2) break;
130
			IF (rename_active) { edit_box_mouse stdcall(#edit2); break; }
130
			IF (rename_active) { edit_box_mouse stdcall(#edit2); break; }
Line -... Line 131...
-
 
131
			
131
			
132
			if (isdir(#file_path)) debug("dir"); else debug("file");
Line 132... Line 133...
132
			m.get();
133
			m.get();
133
 
134
 
134
			if (m.x > files.x) && (m.x < files.x + files.w) && (m.y > files.y) && (m.y < files.y+files.h) && (!can_select)
135
			if (m.x > files.x) && (m.x < files.x + files.w) && (m.y > files.y) && (m.y < files.y+files.h) && (!can_select)
Line 688... Line 689...
688
				return;
689
				return;
689
			}
690
			}
690
			ELSE CreateDir(#temp);
691
			ELSE CreateDir(#temp);
691
			Open_Dir(#path,WITH_REDRAW);
692
			Open_Dir(#path,WITH_REDRAW);
692
		}
693
		}
693
		ELSE
694
		else
694
		{
695
		{
695
			copy_rezult = CopyFile(#file_path,#temp);
696
			copy_rezult = CopyFile(#file_path,#temp);
696
			if (copy_rezult!=0) Write_Error(copy_rezult); else Del_File(true);
697
			if (copy_rezult!=0) Write_Error(copy_rezult); else Del_File(true);
697
		}
698
		}
698
		SelectFile(#edit_name);
699
		SelectFile(#edit_name);