forked from KolibriOS/kolibrios
Eolite 1.21
git-svn-id: svn://kolibrios.org@2661 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -20,7 +20,7 @@ int BUTTON_HEIGHT=18;
|
||||
#define ONLY_OPEN 2
|
||||
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
#define title "Eolite File Manager v1.2"
|
||||
#define title "Eolite File Manager v1.21"
|
||||
dword videlenie=0x94AECE; //<2F><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//
|
||||
int but_num,
|
||||
@@ -358,7 +358,8 @@ int pressed_y;
|
||||
|
||||
inline fastcall void draw_window()
|
||||
{
|
||||
DefineAndDrawWindow(98,90,582,482,0x73,0x10E4DFE1,0,0,title);
|
||||
if (GetScreenHeight()<480) DefineAndDrawWindow(20,0,582,GetScreenHeight()-30,0x73,0x10E4DFE1,0,0,title); else
|
||||
DefineAndDrawWindow(98,90,582,482,0x73,0x10E4DFE1,0,0,title);
|
||||
Form.GetInfo(#Form, SelfInfo);
|
||||
IF (Form.status_window==4) return; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
IF (Form.height<280) MoveSize(OLD,OLD,OLD,280);
|
||||
|
@@ -26,7 +26,25 @@ struct BDVK{
|
||||
};
|
||||
|
||||
////////////////////////////
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> //
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> //
|
||||
////////////////////////////
|
||||
/*f70 create_file_70;
|
||||
void CreateFile(dword file_size, read_buffer, file_path)
|
||||
{
|
||||
create_file_70.func = 2;
|
||||
create_file_70.param1 = 0;
|
||||
create_file_70.param2 = 0;
|
||||
create_file_70.param3 = file_size;
|
||||
create_file_70.param4 = read_buffer;
|
||||
create_file_70.rezerv = 0;
|
||||
create_file_70.name = file_path;
|
||||
$mov eax,70
|
||||
$mov ebx,#create_file_70.func
|
||||
$int 0x40
|
||||
} */
|
||||
|
||||
////////////////////////////
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> //
|
||||
////////////////////////////
|
||||
f70 read_file_70;
|
||||
void ReadFile(dword pos, file_size, read_buffer, file_path)
|
||||
@@ -44,7 +62,7 @@ void ReadFile(dword pos, file_size, read_buffer, file_path)
|
||||
}
|
||||
|
||||
///////////////////////////
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> //
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> //
|
||||
///////////////////////////
|
||||
f70 read_dir_70;
|
||||
int ReadDir(dword file_count, read_buffer, read_dir_path)
|
||||
@@ -62,7 +80,7 @@ int ReadDir(dword file_count, read_buffer, read_dir_path)
|
||||
}
|
||||
|
||||
///////////////////////////
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>v //
|
||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>v //
|
||||
///////////////////////////
|
||||
f70 run_file_70;
|
||||
int RunProgram(dword run_path, run_param)
|
||||
@@ -80,7 +98,7 @@ int RunProgram(dword run_path, run_param)
|
||||
}
|
||||
|
||||
///////////////////////////
|
||||
// T<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> //
|
||||
// <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> //
|
||||
///////////////////////////
|
||||
f70 create_dir_70;
|
||||
int CreateFolder(dword new_folder_path)
|
||||
@@ -98,7 +116,7 @@ int CreateFolder(dword new_folder_path)
|
||||
}
|
||||
|
||||
////////////////////////////
|
||||
// L<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD> //
|
||||
// <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD> //
|
||||
////////////////////////////
|
||||
f70 del_file_70;
|
||||
int DeleleFile(dword del_file_path)
|
||||
@@ -116,7 +134,7 @@ int DeleleFile(dword del_file_path)
|
||||
}
|
||||
|
||||
///////////////////////////
|
||||
// T<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> //
|
||||
// <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> //
|
||||
///////////////////////////
|
||||
f70 CopyFile_f;
|
||||
inline fastcall int CopyFile(dword EBX,ECX)
|
||||
|
@@ -195,6 +195,15 @@ inline fastcall dword GetSkinWidth(){
|
||||
$int 0x40
|
||||
}
|
||||
|
||||
inline fastcall dword GetScreenHeight()
|
||||
{
|
||||
EAX = 14;
|
||||
EBX = 4;
|
||||
$int 0x40
|
||||
//$shr eax, 16
|
||||
$and eax,0x0000FFFF
|
||||
}
|
||||
|
||||
inline fastcall void MoveSize(dword EBX,ECX,EDX,ESI){
|
||||
EAX = 67;
|
||||
$int 0x40
|
||||
|
Reference in New Issue
Block a user