Eolite 1.25: /tmp disc support and others

git-svn-id: svn://kolibrios.org@2814 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2012-06-20 22:51:10 +00:00
parent 7c0789c3e6
commit 8de57a728f
10 changed files with 646 additions and 581 deletions

View File

@ -20,14 +20,13 @@ int BUTTON_HEIGHT=18;
#define ONLY_OPEN 2 #define ONLY_OPEN 2
//ïåðåìåííûå //ïåðåìåííûå
#define title "Eolite File Manager v1.23" #define title "Eolite File Manager v1.25"
dword videlenie=0x94AECE; //öâåò âûäåëåííîãî ýëåìåíòà èç ñïèñêà ôàéëîâ dword videlenie=0x94AECE; //öâåò âûäåëåííîãî ýëåìåíòà èç ñïèñêà ôàéëîâ
// //
int but_num, int but_num,
count, count,
za_kadrom, za_kadrom,
curbtn, curbtn,
disc_num,
scroll_size; scroll_size;
byte cut_active, byte cut_active,
rename_active, rename_active,
@ -53,7 +52,6 @@ struct path_string {
char Item[4096]; char Item[4096];
}; };
path_string disk_list[20];
dword stak[100]; //îêíî About dword stak[100]; //îêíî About
@ -92,273 +90,289 @@ int pressed_y;
} }
else copystr("/rd/1/", #path); else copystr("/rd/1/", #path);
Open_Dir(#path,ONLY_OPEN); Open_Dir(#path,ONLY_OPEN);
loop() loop() switch(WaitEvent())
{ {
switch(WaitEvent()) case evMouse:
{ IF (del_active==1) break;
case evMouse:
IF (del_active==1) break;
id=GetSlot(Form.ID); id=GetSlot(Form.ID);
IF (id<>ActiveProcess()) break; //åñëè îêíî íå àêòèâíî íà ñîáûòèÿ ìûøè íå ðåàãèðóåì IF (id<>ActiveProcess()) break; //åñëè îêíî íå àêòèâíî íà ñîáûòèÿ ìûøè íå ðåàãèðóåì
m.get(); IF (rename_active==0) edit_box_mouse stdcall(#edit1); ELSE edit_box_mouse stdcall(#edit2);
if (m.x>=Form.width-26) && (m.x<=Form.width-6) && (m.y>40) && (m.y<57) m.get();
{
IF (m.lkm==1) DrawRegion_3D(onLeft(26,0),41,14,14,0xC7C7C7,0xFFFFFF);
WHILE (m.lkm==1) && (za_kadrom>0)
{
Pause(10);
za_kadrom--;
List_ReDraw();
m.get();
}
DrawRegion_3D(onLeft(26,0),41,14,14,0xFFFFFF,0xC7C7C7);
}
if (m.x>=Form.width-26) && (m.x<=Form.width-6) && (m.y>onTop(22,0)+1) && (m.y<onTop(22,0)+16) if (m.x>=Form.width-26) && (m.x<=Form.width-6) && (m.y>40) && (m.y<57)
{
IF (m.lkm==1) DrawRegion_3D(onLeft(26,0),41,14,14,0xC7C7C7,0xFFFFFF);
WHILE (m.lkm==1) && (za_kadrom>0)
{ {
IF (m.lkm==1) DrawRegion_3D(onLeft(26,0),onTop(21,0),14,14,0xC7C7C7,0xFFFFFF); Pause(10);
while (m.lkm==1) && (za_kadrom<count-but_num) za_kadrom--;
{ List_ReDraw();
Pause(10);
za_kadrom++;
List_ReDraw();
m.get();
}
DrawRegion_3D(onLeft(26,0),onTop(21,0),14,14,0xFFFFFF,0xC7C7C7);
}
//êîë¸ñèêî ìûøè
IF (m.vert==65535) IF (curbtn>0) FileList_ReDraw(-1); ELSE
{
FileList_ReDraw(-1);
FileList_ReDraw(-1);
FileList_ReDraw(-1);
}
IF (m.vert==1) IF (curbtn<but_num-1) FileList_ReDraw(1); ELSE
{
FileList_ReDraw(1);
FileList_ReDraw(1);
FileList_ReDraw(1);
}
//ñêðîëë
if (m.x>=Form.width-26) && (m.x<=Form.width-6) && (m.y>56) && && (m.y<65000) while (m.lkm)
{
IF (scroll_size/2+57>m.y) || (m.y<0) || (m.y>4000) m.y=scroll_size/2+57; //åñëè êóðñîð íàä îêíîì
id=za_kadrom; //ñîõðàíÿåì ñòàðîå êîëè÷åñòâî
j= scroll_size/2;
za_kadrom = m.y -j -57 * count;
za_kadrom /= onTop(22,57);
IF (but_num+za_kadrom>count) za_kadrom=count-but_num;
IF (id<>za_kadrom) List_ReDraw(); //÷òîá ëèøíèé ðàç íå ïåðåðèñîâûâàòü
m.get(); m.get();
} }
break; DrawRegion_3D(onLeft(26,0),41,14,14,0xFFFFFF,0xC7C7C7);
//Button pressed----------------------------------------------------------------------------- }
case evButton:
IF (edit1.flags<>64) {edit1.flags=64; edit_box_draw stdcall(#edit1);} //ñáðàñûâàåì âûäåëåíèå ïðè íàæàòèè íà áàòîí if (m.x>=Form.width-26) && (m.x<=Form.width-6) && (m.y>onTop(22,0)+1) && (m.y<onTop(22,0)+16)
id=GetButtonID();
IF (id==1) ExitProcess();
IF (del_active==1) {IF (id==301) || (id==302) Del_File(302-id); break;}
switch(id)
{ {
case 21: //Back IF (m.lkm==1) DrawRegion_3D(onLeft(26,0),onTop(21,0),14,14,0xC7C7C7,0xFFFFFF);
GoBack(); while (m.lkm==1) && (za_kadrom<count-but_num)
break; {
case 22: //Forward Pause(10);
HistoryPath(go_forward); za_kadrom++;
break; List_ReDraw();
case 23: //up! m.get();
IF (strcmp(#path,"/")<>0) Dir_Up(); }
break; DrawRegion_3D(onLeft(26,0),onTop(21,0),14,14,0xFFFFFF,0xC7C7C7);
case 24: //cut }
key=24;
case 25: //copy //êîë¸ñèêî ìûøè
goto CTRLC_MARK; IF (m.vert==65535) && (za_kadrom>0)
case 26: //paste {
Paste(); if (za_kadrom>0) za_kadrom--;
break; if (curbtn<but_num-1) curbtn++;
case 27: //goto edit_path List_ReDraw();
Goto_edit_path(); if (za_kadrom>0) za_kadrom--;
break; if (curbtn<but_num-1) curbtn++;
case 31...33: //sort List_ReDraw();
IF(sort_num==1) DrawBar(onLeft(192,168)/2+210,45,6,9,0xE4DFE1); }
IF(sort_num==2) DrawBar(onLeft(115,0),45,6,9,0xE4DFE1); IF (m.vert==1) && (za_kadrom<count-but_num)
IF(sort_num==3) DrawBar(onLeft(44,0),45,6,9,0xE4DFE1); {
sort_num=id-30; if (za_kadrom<count-but_num) za_kadrom++;
Open_Dir(#path,1); if (curbtn>0) curbtn--;
break; List_ReDraw();
case 30: //about if (za_kadrom<count-but_num) za_kadrom++;
CreateThread(#about_dialog,#stak); if (curbtn>0) curbtn--;
break; List_ReDraw();
case 77: }
IF (show_actions==1) show_actions=0; ELSE show_actions=1; //ñêðîëë
Actions(); if (m.x>=Form.width-26) && (m.x<=Form.width-6) && (m.y>56) && && (m.y<65000) while (m.lkm)
break; {
case 78: IF (scroll_size/2+57>m.y) || (m.y<0) || (m.y>4000) m.y=scroll_size/2+57; //åñëè êóðñîð íàä îêíîì
IF (show_dev_name==1) show_dev_name=0; ELSE show_dev_name=1; id=za_kadrom; //ñîõðàíÿåì ñòàðîå êîëè÷åñòâî
DrawSystemDiscs(); j= scroll_size/2;
break; za_kadrom = m.y -j -57 * count;
case 80: //rename za_kadrom /= onTop(22,57);
goto REN_MARK; IF (but_num+za_kadrom>count) za_kadrom=count-but_num;
case 81: //Delete file IF (id<>za_kadrom) List_ReDraw(); //÷òîá ëèøíèé ðàç íå ïåðåðèñîâûâàòü
Del_Form(); m.get();
break;
case 82: //create folder
NEW_FOLDER_MARK:
copystr(#path, #temp);
copystr("New folder", #temp+strlen(#temp));
CreateFolder(#temp);
IF (EAX==0){
SelectFile("New folder");
goto REN_MARK;
}
ELSE ShowMessage("Folder can not be created.");
break;
case 100...120:
DEVICE_MARK:
DrawRegion_3D(17,id-100*16+74,159,16, 0, 0); //âûäåëåíèå
copystr(#disk_list[id-100].Item, #path);
za_kadrom=curbtn=0;
Open_Dir(#path,1);
DrawRegion_3D(17,id-100*16+74,159,16, 0xFFFFFF, 0xFFFFFF);
break;
default:
if (id<200) break; //êíîïêè èç ñïèñêà ôàéëîâ
IF (curbtn!=id-201) {FileList_ReDraw(id-201-curbtn); break;}
else OPEN_MARK:
if (!isdir) GetIni(0); else
if (strcmp(#file_name,"..")==0) Dir_Up(); else
{ OPEN_DEV:
copystr(#file_path, #path);
IF (strcmp(#path+strlen(#path)-1,"/")<>0) copystr("/",#path+strlen(#path)); //åñëè íåò, + "/"
za_kadrom=curbtn=0;
Open_Dir(#path,1);
}
} }
break; break;
//Key pressed----------------------------------------------------------------------------- //Button pressed-----------------------------------------------------------------------------
case evKey: case evButton:
key = GetKey(); IF (edit1.flags<>64) {edit1.flags=64; edit_box_draw stdcall(#edit1);} //ñáðàñûâàåì âûäåëåíèå ïðè íàæàòèè íà áàòîí
IF (del_active==1) id=GetButtonID();
{ IF (id==1) ExitProcess();
IF (key==013) Del_File(true); IF (del_active==1) {IF (id==301) || (id==302) Del_File(302-id); break;}
IF (key==027) Del_File(false); switch(id)
break; {
} case 21: //Back
IF (edit1.flags<>64) && (edit1.flags<>0) && (key<>13) GoBack();
{ break;
EAX=key<<8; case 22: //Forward
edit_box_key stdcall (#edit1); HistoryPath(go_forward);
break; break;
} case 23: //up!
IF (edit2.flags<>64) && (key<>13) && (key<>27) Dir_Up();
{ break;
EAX=key<<8; case 24: //cut
edit_box_key stdcall (#edit2); key=24;
break; case 25: //copy
} goto CTRLC_MARK;
switch (key) case 26: //paste
{ Paste();
case 209...217: break;
id=key-110; case 27: //goto edit_path
IF (id-100>=disc_num) break; Goto_edit_path();
GOTO DEVICE_MARK; break;
case 8: //Íàçàä case 31...33: //sort
GoBack(); IF(sort_num==1) DrawBar(onLeft(192,168)/2+210,45,6,9,0xE4DFE1);
break; IF(sort_num==2) DrawBar(onLeft(115,0),45,6,9,0xE4DFE1);
case 004: //Ctrl+D ðèñ íà ðàá ñòîë ðàñòÿíóòü IF(sort_num==3) DrawBar(onLeft(44,0),45,6,9,0xE4DFE1);
copystr("\\S__", #temp); sort_num=id-30;
copystr(#file_path, #temp+strlen(#temp)); Open_Dir(#path,1);
RunProgram("/sys/media/kiv", #temp); break;
break; case 30: //about
case 014: //Ctrl+N íîâîå îêíî CreateThread(#about_dialog,#stak);
IF (Form.left==98) MoveSize(Form.left-20,Form.top-20,OLD,OLD); break;
RunProgram("/sys/File Managers/Eolite", #path); case 77:
break; IF (show_actions==1) show_actions=0; ELSE show_actions=1;
case 024: //Ctrl+X cut Actions();
case 003: //Ctrl+C copy break;
CTRLC_MARK: case 78:
IF (isdir) break; //ïàïêè ïîêà ÷òî êîïèðîâàòü íå óìååì IF (show_dev_name==1) show_dev_name=0; ELSE show_dev_name=1;
copystr(#file_path,#copy_file); //âû÷èñëÿåì êàêîé ôàéë êîïèðîâàòü GetSystemDiscs();
IF (key==24) cut_active=1; ELSE cut_active=0; Open_Dir(#path,WITH_REDRAW);
break; DrawSystemDiscs();
case 022: Paste(); break;//Ctrl+V paste Actions();
case 027: //Esc break;
IF (rename_active==1) ReName(false); case 80: //rename
break; goto REN_MARK;
case 013: //Enter case 81: //Delete file
IF (rename_active==1) {ReName(true); break;} Del_Form();
IF (strcmp(#path,#edit_path)<>0) Goto_edit_path(); break;
ELSE GOTO OPEN_MARK; case 82: //create folder
break; NEW_FOLDER_MARK:
case 55: //F6 - new folder copystr(#path, #temp);
goto NEW_FOLDER_MARK; copystr("New folder", #temp+strlen(#temp));
case 56: //IF (rename_active==1) break;//up CreateFolder(#temp);
case 178: //up IF (EAX==0){
FileList_ReDraw(-1); SelectFile("New folder");
break; goto REN_MARK;
case 177: //down }
FileList_ReDraw(1); ELSE
break; {
case 180: //home Write_Error(EAX);
za_kadrom=0; ShowMessage("Folder can not be created.");
curbtn=0; }
List_ReDraw(); break;
break; case 100...120:
case 181: //end DEVICE_MARK:
za_kadrom=count-but_num; DrawRegion_3D(17,id-100*16+74,159,16, 0, 0); //âûäåëåíèå
curbtn=but_num-1; copystr(#disk_list[id-100].Item, #path);
List_ReDraw(); za_kadrom=curbtn=0;
break; Open_Dir(#path,1);
case 183: //Page Down Pause(5);
FileList_ReDraw(but_num-1); DrawRegion_3D(17,id-100*16+74,159,16, 0xFFFFFF, 0xFFFFFF);
break; break;
case 184: //Page Up default:
FileList_ReDraw(-but_num+1); if (id<200) break; //êíîïêè èç ñïèñêà ôàéëîâ
break; if (curbtn!=id-201) {FileList_ReDraw(id-201-curbtn); break;}
case 051: //Íàæàòà F2 else OPEN_MARK:
REN_MARK: if (!isdir) GetIni(0); else
DeleteButton(curbtn+201); //ýòî ÷òîá ìîæíî áûëî âûäåëÿòü ìûøüþ if (strcmp(#file_name,"..")==0) Dir_Up();
edit2.flags=66; //äåëàåì êîìïîíåíò àêòèâíûì else
edit2.width=onLeft(24,217); {
edit2.top=curbtn*BUTTON_HEIGHT+59; OPEN_DEV:
edit2.size=edit2.pos=strlen(#file_name); copystr(#file_path, #path);
edit_box_draw stdcall (#edit2); IF (strcmp(#path+strlen(#path)-1,"/")<>0) copystr("/",#path+strlen(#path)); //åñëè íåò, + "/"
DrawBar(213,curbtn*BUTTON_HEIGHT+58,edit2.width+1,1,0xFFFFCC); //ïîëîñà æåëòàÿ ñâåðõó äëÿ îäèíàêîâîñòè za_kadrom=curbtn=0;
rename_active=1;
break;
case 052: //Íàæàòà F3
IF (isdir==false) RunProgram("/sys/tinypad", #file_path);
break;
case 053: //Íàæàòà F4
IF (isdir==false) RunProgram("/sys/develop/heed", #file_path);
break;
case 054: //F5
Open_Dir(#path,1); Open_Dir(#path,1);
break; }
case 182: //delete file }
Del_Form(); break;
break; //Key pressed-----------------------------------------------------------------------------
default: case evKey:
for (i=curbtn+za_kadrom+1; i<count; i++) key = GetKey();
IF (del_active==1)
{
IF (key==013) Del_File(true);
IF (key==027) Del_File(false);
break;
}
IF (edit1.flags<>64) && (edit1.flags<>0) && (key<>13)
{
EAX=key<<8;
edit_box_key stdcall (#edit1);
break;
}
IF (edit2.flags<>64) && (key<>13) && (key<>27)
{
EAX=key<<8;
edit_box_key stdcall (#edit2);
break;
}
switch (key)
{
case 209...217:
id=key-110;
IF (id-100>=disc_num) break;
GOTO DEVICE_MARK;
case 8: //Íàçàä
//GoBack();
Dir_Up();
break;
case 004: //Ctrl+D ðèñ íà ðàá ñòîë ðàñòÿíóòü
copystr("\\S__", #temp);
copystr(#file_path, #temp+strlen(#temp));
RunProgram("/sys/media/kiv", #temp);
break;
case 014: //Ctrl+N íîâîå îêíî
IF (Form.left==98) MoveSize(Form.left-20,Form.top-20,OLD,OLD);
RunProgram("/sys/File Managers/Eolite", #path);
break;
case 024: //Ctrl+X cut
case 003: //Ctrl+C copy
CTRLC_MARK:
IF (isdir) break; //ïàïêè ïîêà ÷òî êîïèðîâàòü íå óìååì
copystr(#file_path,#copy_file); //âû÷èñëÿåì êàêîé ôàéë êîïèðîâàòü
IF (key==24) cut_active=1; ELSE cut_active=0;
break;
case 022: Paste(); break;//Ctrl+V paste
case 027: //Esc
IF (rename_active==1) ReName(false);
break;
case 013: //Enter
IF (rename_active==1) {ReName(true); break;}
IF (strcmp(#path,#edit_path)<>0) Goto_edit_path();
ELSE GOTO OPEN_MARK;
break;
case 55: //F6 - new folder
goto NEW_FOLDER_MARK;
case 56: //IF (rename_active==1) break;//up
case 178: //up
FileList_ReDraw(-1);
break;
case 177: //down
FileList_ReDraw(1);
break;
case 180: //home
za_kadrom=0;
curbtn=0;
List_ReDraw();
break;
case 181: //end
za_kadrom=count-but_num;
curbtn=but_num-1;
List_ReDraw();
break;
case 183: //Page Down
FileList_ReDraw(but_num-1);
break;
case 184: //Page Up
FileList_ReDraw(-but_num+1);
break;
case 051: //Íàæàòà F2
REN_MARK:
DeleteButton(curbtn+201); //ýòî ÷òîá ìîæíî áûëî âûäåëÿòü ìûøüþ
edit2.flags=66; //äåëàåì êîìïîíåíò àêòèâíûì
edit2.width=onLeft(24,217);
edit2.top=curbtn*BUTTON_HEIGHT+59;
edit2.size=edit2.pos=strlen(#file_name);
edit_box_draw stdcall (#edit2);
DrawBar(213,curbtn*BUTTON_HEIGHT+58,edit2.width+1,1,0xFFFFCC); //ïîëîñà æåëòàÿ ñâåðõó äëÿ îäèíàêîâîñòè
rename_active=1;
break;
case 052: //Íàæàòà F3
IF (isdir==false) RunProgram("/sys/tinypad", #file_path);
break;
case 053: //Íàæàòà F4
IF (isdir==false) RunProgram("/sys/develop/heed", #file_path);
break;
case 054: //F5
Open_Dir(#path,1);
break;
case 182: //delete file
Del_Form();
break;
default:
for (i=curbtn+za_kadrom+1; i<count; i++)
{
copystr(file_mas[i]*304+buf+72,#temp);
AL=DSBYTE[#temp];
IF(AL>='A')&&(AL<='Z')DSBYTE[#temp]=AL|0x20;
IF (temp[0]==key)
{ {
copystr(file_mas[i]*304+buf+72,#temp); FileList_ReDraw(i-curbtn-za_kadrom);
AL=DSBYTE[#temp]; break;
IF(AL>='A')&&(AL<='Z')DSBYTE[#temp]=AL|0x20;
IF (temp[0]==key)
{
FileList_ReDraw(i-curbtn-za_kadrom);
break;
}
} }
} }
BREAK; }
case evReDraw: draw_window(); BREAK;
} case evReDraw:
IF (rename_active==0) edit_box_mouse stdcall(#edit1); ELSE edit_box_mouse stdcall(#edit2); draw_window();
} }
} }
@ -394,8 +408,6 @@ inline fastcall void draw_window()
DrawFlatButton(onLeft(95,0),40,68,16,33,0xE4DFE1,"Size"); DrawFlatButton(onLeft(95,0),40,68,16,33,0xE4DFE1,"Size");
//Ïåðåðèñîâûâàåì ñïèñîê //Ïåðåðèñîâûâàåì ñïèñîê
Open_Dir(#path,ONLY_SHOW); Open_Dir(#path,ONLY_SHOW);
//List_ReDraw();
//KEdit();
//ïðîêðóòêà //ïðîêðóòêà
DrawBar(onLeft(27,0),57,1,onTop(22,57),0x94AECE); //ëèíèÿ ñëåâà îò ïðîêðóòêè DrawBar(onLeft(27,0),57,1,onTop(22,57),0x94AECE); //ëèíèÿ ñëåâà îò ïðîêðóòêè
DrawFlatButton(onLeft(27,0),40,16,16,0,0xE4DFE1,"\x18"); //ïðîêðóòêà ââåðõ DrawFlatButton(onLeft(27,0),40,16,16,0,0xE4DFE1,"\x18"); //ïðîêðóòêà ââåðõ
@ -514,10 +526,10 @@ void Line_ReDraw(dword color, filenum){
IF (!strcmp("..",off)) temp_int=Put_icon("..", BUTTON_HEIGHT/2-7+y); IF (!strcmp("..",off)) temp_int=Put_icon("..", BUTTON_HEIGHT/2-7+y);
ELSE ELSE
temp_int=Put_icon("<DIR>", BUTTON_HEIGHT/2-7+y); temp_int=Put_icon("<DIR>", BUTTON_HEIGHT/2-7+y);
if (color==videlenie) if (color<>0xFFFfff)
{ {
isdir=TestBit(ESDWORD[off-40], 4); isdir=TestBit(ESDWORD[off-40], 4);
IconFairing(temp_int, BUTTON_HEIGHT/2-7+y); //çàêðàøèâàåì èêîíêó IconFairing(temp_int, BUTTON_HEIGHT/2-7+y, color); //çàêðàøèâàåì èêîíêó
copystr(off,#file_name); copystr(off,#file_name);
copystr(#path,#file_path); copystr(#path,#file_path);
copystr(#file_name,#file_path+strlen(#file_path)); //ïîëíûé ïóòü ê ôàéëó copystr(#file_name,#file_path+strlen(#file_path)); //ïîëíûé ïóòü ê ôàéëó
@ -545,9 +557,9 @@ void Open_Dir(dword temp_, redraw){
errornum=ReadDir(0, buf, #path_); errornum=ReadDir(0, buf, #path_);
if (errornum<>0) //îøèáêà ïðè ÷òåíèè ïàïêè if (errornum<>0) //îøèáêà ïðè ÷òåíèè ïàïêè
{ {
Write_Debug_Error(errornum);
HistoryPath(add_new_path); HistoryPath(add_new_path);
GoBack(); GoBack();
Write_Error(errornum);
return; return;
} }
count = ESDWORD[buf+8]; count = ESDWORD[buf+8];
@ -641,7 +653,7 @@ void Del_File(byte dodel)
del_file_rez=DeleleFile(#file_path); del_file_rez=DeleleFile(#file_path);
IF (del_file_rez<>0) IF (del_file_rez<>0)
{ {
Write_Debug_Error(del_file_rez); Write_Error(del_file_rez);
IF (isdir==true) ShowMessage("Error. Folder isn't empty."); IF (isdir==true) ShowMessage("Error. Folder isn't empty.");
IF (isdir==false) ShowMessage("Error. Filesystem read-only."); IF (isdir==false) ShowMessage("Error. Filesystem read-only.");
} }
@ -668,7 +680,7 @@ void Paste()
copy_rezult=CopyFile(#copy_file,#new_copy_path); copy_rezult=CopyFile(#copy_file,#new_copy_path);
IF (copy_rezult<>0) //îøèáêà IF (copy_rezult<>0) //îøèáêà
{ {
Write_Debug_Error(copy_rezult); Write_Error(copy_rezult);
DrawFlatButton(Form.width/2-13,160,200,80,0,0xFFB6B5, "Error. You can't paste here."); DrawFlatButton(Form.width/2-13,160,200,80,0,0xFFB6B5, "Error. You can't paste here.");
Pause(150); Pause(150);
} }
@ -712,7 +724,7 @@ void ReName(byte rename)
del_file_rez=DeleleFile(#file_path); del_file_rez=DeleleFile(#file_path);
IF (del_file_rez<>0) IF (del_file_rez<>0)
{ {
Write_Debug_Error(del_file_rez); Write_Error(del_file_rez);
ShowMessage("Error. Folder isn't empty."); ShowMessage("Error. Folder isn't empty.");
return; return;
} }
@ -786,6 +798,7 @@ void SelectFile(dword that_file)
void Dir_Up() void Dir_Up()
{ {
char cur_folder[4096]; char cur_folder[4096];
if (!strcmp(#path,"/")) return;
i=strlen(#path)-1; i=strlen(#path)-1;
path[i]=0x00; path[i]=0x00;
do i--; while (path[i]<>'/'); copystr(#path+i+1,#cur_folder); do i--; while (path[i]<>'/'); copystr(#path+i+1,#cur_folder);

View File

@ -1,3 +1,8 @@
21.06.12 -- v1.25
- распознавание виртуального диска;
- изменения в прокрутке колёсиком мыши;
- обновление кода.
14.06.12 -- v1.23 14.06.12 -- v1.23
- исправлен баг, когда окно было схлопнуто в заголовок и свёрнуто; - исправлен баг, когда окно было схлопнуто в заголовок и свёрнуто;
- при нажатие на кнопку закрытия окна ползунок прыгал вверх. - при нажатие на кнопку закрытия окна ползунок прыгал вверх.

View File

@ -1,5 +1,6 @@
@..\C--\c-- Eolite.c--
del Eolite del Eolite
@..\C--\c-- Eolite.c--
rename Eolite.com Eolite rename Eolite.com Eolite
rem @..\C--\kpack Eolite rem ..\C--\kpack Eolite
del warning.txt
pause pause

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1,147 +1,180 @@
unsigned char devices[2184] = { unsigned char devices[2730] = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF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x00,

View File

@ -37,7 +37,7 @@ void about_dialog()
DefineAndDrawWindow(600,150,181,256,0x34,0x10EFEBEF,0,0,"About Eolite"); DefineAndDrawWindow(600,150,181,256,0x34,0x10EFEBEF,0,0,"About Eolite");
DrawBar(0,0,172,50,0x8494C4); //ãîëóáîå ñçàäè DrawBar(0,0,172,50,0x8494C4); //ãîëóáîå ñçàäè
PutPaletteImage(#logo,85,85,43,7,#logo_pal); PutPaletteImage(#logo,85,85,43,7,#logo_pal);
WriteText(46,100,0x90,0xBF40BF,"Eolite v1.22",0); WriteText(46,100,0x90,0xBF40BF,"Eolite v1.25",0);
$add ebx, 1<<16 $add ebx, 1<<16
$int 0x40 $int 0x40
WriteText(55,120,0x80,0,"Developers:",0); WriteText(55,120,0x80,0,"Developers:",0);
@ -47,6 +47,8 @@ void about_dialog()
WriteText(12,170,0x80,0,"Visit",0); WriteText(12,170,0x80,0,"Visit",0);
DrawLink(48,170,23, "kolibri-os.narod.ru"); //ññûëêa DrawLink(48,170,23, "kolibri-os.narod.ru"); //ññûëêa
DrawFlatButton(85,190,70,22,0,0xE4DFE1, "Close"); DrawFlatButton(85,190,70,22,0,0xE4DFE1, "Close");
//PutPaletteImage(3*16*15+#ficons,16,15,40,195,#ficons_pal);
} }
} }

View File

@ -1,11 +1,16 @@
//03.04.2012 //03.04.2012
path_string disk_list[20];
int disc_num;
void GetSystemDiscs() void GetSystemDiscs()
{ {
char dev_name[10], sys_discs[10]; char dev_name[10], sys_discs[10];
int i1, j1, dev_num, dev_disc_num; int i1, j1, dev_num, dev_disc_num;
dword devbuf; dword devbuf;
disc_num=0;
devbuf= malloc(3112); //áóôåð ãäå-òî íà 10 äåâàéñîâ â ëåâîé ïàíåëè devbuf= malloc(3112); //áóôåð ãäå-òî íà 10 äåâàéñîâ â ëåâîé ïàíåëè
ReadDir(10, devbuf, "/"); ReadDir(10, devbuf, "/");
dev_num = EBX; dev_num = EBX;
@ -26,7 +31,6 @@ void GetSystemDiscs()
copystr(#sys_discs,#disk_list[disc_num].Item); copystr(#sys_discs,#disk_list[disc_num].Item);
disc_num++; disc_num++;
} }
} }
} }
@ -55,6 +59,7 @@ void DrawSystemDiscs()
IF (dev_name[1]=='r') { dev_icon=0; copystr("RAM disk ",#disc_name); } IF (dev_name[1]=='r') { dev_icon=0; copystr("RAM disk ",#disc_name); }
IF (dev_name[1]=='c') { dev_icon=1; copystr("CD-ROM ",#disc_name); } IF (dev_name[1]=='c') { dev_icon=1; copystr("CD-ROM ",#disc_name); }
IF (dev_name[1]=='f') { dev_icon=2; copystr("Floppy disk ",#disc_name); } IF (dev_name[1]=='f') { dev_icon=2; copystr("Floppy disk ",#disc_name); }
IF (dev_name[1]=='t') { dev_icon=4; copystr("Virtual disk ",#disc_name); }
IF (dev_name[1]=='h') || (dev_name[1]=='b') copystr("Hard disk ",#disc_name); IF (dev_name[1]=='h') || (dev_name[1]=='b') copystr("Hard disk ",#disc_name);
copystr(#dev_name,#disc_name+strlen(#disc_name)); copystr(#dev_name,#disc_name+strlen(#disc_name));
// //

View File

@ -67,180 +67,180 @@ dword Put_icon(dword extension, yy)
void IconFairing(int filenum, y) void IconFairing(int filenum, y, color)
{ {
switch(filenum) switch(filenum)
{ {
case 0...1: //ôàéëèê case 0...1: //ôàéëèê
DrawBar(195,y,2,15,videlenie); DrawBar(195,y,2,15,color);
RIGHT_PAINT: RIGHT_PAINT:
DrawBar(209,y,2,15,videlenie); DrawBar(209,y,2,15,color);
DrawBar(205,y,4,1,videlenie); DrawBar(205,y,4,1,color);
DrawBar(206,y+1,3,1,videlenie); DrawBar(206,y+1,3,1,color);
DrawBar(207,y+2,2,1,videlenie); DrawBar(207,y+2,2,1,color);
PutPixel(208,y+3,videlenie); PutPixel(208,y+3,color);
return; return;
case 2: //html case 2: //html
DrawBar(195,y,1,7,videlenie); DrawBar(195,y,1,7,color);
DrawBar(196,y,1,6,videlenie); DrawBar(196,y,1,6,color);
DrawBar(195,y+10,1,5,videlenie); DrawBar(195,y+10,1,5,color);
DrawBar(196,y+11,1,4,videlenie); DrawBar(196,y+11,1,4,color);
GOTO RIGHT_PAINT; GOTO RIGHT_PAINT;
case 3: //íàñòðîéêè case 3: //íàñòðîéêè
DrawBar(195,y,2,7,videlenie); DrawBar(195,y,2,7,color);
DrawBar(195,y+7,1,2,videlenie); DrawBar(195,y+7,1,2,color);
DrawBar(195,y+12,1,3,videlenie); DrawBar(195,y+12,1,3,color);
PutPixel(196,y+14,videlenie); PutPixel(196,y+14,color);
GOTO RIGHT_PAINT; GOTO RIGHT_PAINT;
case 9: //inc case 9: //inc
DrawBar(195,y,1,12,videlenie); DrawBar(195,y,1,12,color);
DrawBar(196,y,1,11,videlenie); DrawBar(196,y,1,11,color);
DrawBar(197,y,1,10,videlenie); DrawBar(197,y,1,10,color);
DrawBar(198,y,1,5,videlenie); DrawBar(198,y,1,5,color);
DrawBar(199,y,1,4,videlenie); DrawBar(199,y,1,4,color);
DrawBar(200,y,1,3,videlenie); DrawBar(200,y,1,3,color);
DrawBar(201,y,1,2,videlenie); DrawBar(201,y,1,2,color);
DrawBar(202,y,1,3,videlenie); DrawBar(202,y,1,3,color);
DrawBar(203,y,1,2,videlenie); DrawBar(203,y,1,2,color);
PutPixel(204,y,videlenie); PutPixel(204,y,color);
PutPixel(205,y+4,videlenie); PutPixel(205,y+4,color);
PutPixel(206,y+3,videlenie); PutPixel(206,y+3,color);
PutPixel(207,y,videlenie); PutPixel(207,y,color);
PutPixel(207,y+2,videlenie); PutPixel(207,y+2,color);
DrawBar(208,y,1,3,videlenie); DrawBar(208,y,1,3,color);
DrawBar(209,y,2,4,videlenie); DrawBar(209,y,2,4,color);
DrawBar(210,y,1,15,videlenie); DrawBar(210,y,1,15,color);
PutPixel(198,y+14,videlenie); PutPixel(198,y+14,color);
DrawBar(199,y+13,1,2,videlenie); DrawBar(199,y+13,1,2,color);
DrawBar(200,y+12,10,3,videlenie); DrawBar(200,y+12,10,3,color);
PutPixel(205,y+11,videlenie); PutPixel(205,y+11,color);
DrawBar(206,y+10,1,2,videlenie); DrawBar(206,y+10,1,2,color);
DrawBar(207,y+9,1,3,videlenie); DrawBar(207,y+9,1,3,color);
PutPixel(207,y+7,videlenie); PutPixel(207,y+7,color);
DrawBar(208,y+6,2,7,videlenie); DrawBar(208,y+6,2,7,color);
PutPixel(209,y+5,videlenie); PutPixel(209,y+5,color);
return; return;
case 10: //font case 10: //font
DrawRegion_3D(195,y,15,14,videlenie,videlenie); DrawRegion_3D(195,y,15,14,color,color);
DrawBar(196,y+1,1,13,videlenie); DrawBar(196,y+1,1,13,color);
DrawBar(197,y+1,1,11,videlenie); DrawBar(197,y+1,1,11,color);
DrawBar(198,y+1,1,10,videlenie); DrawBar(198,y+1,1,10,color);
DrawBar(199,y+1,1,9,videlenie); DrawBar(199,y+1,1,9,color);
DrawBar(200,y+1,1,7,videlenie); DrawBar(200,y+1,1,7,color);
DrawBar(201,y+1,1,5,videlenie); DrawBar(201,y+1,1,5,color);
DrawBar(202,y+1,1,4,videlenie); DrawBar(202,y+1,1,4,color);
DrawBar(203,y+1,1,2,videlenie); DrawBar(203,y+1,1,2,color);
DrawBar(209,y+1,1,13,videlenie); DrawBar(209,y+1,1,13,color);
DrawBar(208,y+1,1,11,videlenie); DrawBar(208,y+1,1,11,color);
PutPixel(204,y+6,videlenie); PutPixel(204,y+6,color);
DrawBar(203,y+10,2,1,videlenie); DrawBar(203,y+10,2,1,color);
DrawBar(202,y+11,2,3,videlenie); DrawBar(202,y+11,2,3,color);
return; return;
case 11: //asm case 11: //asm
DrawBar(195,y,1,15,videlenie); DrawBar(195,y,1,15,color);
return; return;
case 12: //audio case 12: //audio
DrawBar(195,y,16,1,videlenie); DrawBar(195,y,16,1,color);
DrawBar(195,y,1,15,videlenie); DrawBar(195,y,1,15,color);
DrawBar(196,y+1,4,8,videlenie); DrawBar(196,y+1,4,8,color);
DrawBar(196,y+9,1,2,videlenie); DrawBar(196,y+9,1,2,color);
PutPixel(197,y+9,videlenie); PutPixel(197,y+9,color);
PutPixel(196,y+14,videlenie); PutPixel(196,y+14,color);
DrawBar(210,y+1,1,14,videlenie); DrawBar(210,y+1,1,14,color);
DrawBar(202,y+4,6,4,videlenie); DrawBar(202,y+4,6,4,color);
DrawBar(202,y+8,4,1,videlenie); DrawBar(202,y+8,4,1,color);
DrawBar(202,y+9,3,1,videlenie); DrawBar(202,y+9,3,1,color);
DrawBar(202,y+10,2,3,videlenie); DrawBar(202,y+10,2,3,color);
DrawBar(201,y+13,4,1,videlenie); DrawBar(201,y+13,4,1,color);
DrawBar(200,y+14,14,1,videlenie); DrawBar(200,y+14,14,1,color);
DrawBar(209,y+12,1,2,videlenie); DrawBar(209,y+12,1,2,color);
PutPixel(208,y+13,videlenie); PutPixel(208,y+13,color);
return; return;
case 13: //skin case 13: //skin
PutPixel(210,y,videlenie); PutPixel(210,y,color);
return; return;
case 14...15: //video, book case 14...15: //video, book
DrawBar(195,y,1,15,videlenie); DrawBar(195,y,1,15,color);
DrawBar(210,y,1,15,videlenie); DrawBar(210,y,1,15,color);
return; return;
case 16...17: //ïàïêà case 16...17: //ïàïêà
DrawBar(195,y,1,15,videlenie); DrawBar(195,y,1,15,color);
DrawBar(203,y,8,2,videlenie); DrawBar(203,y,8,2,color);
IF (filenum==17) PutPixel(206,y+1,0x1A7B17); //çåë¸íàÿ òî÷êà ñòðåëêè IF (filenum==17) PutPixel(206,y+1,0x1A7B17); //çåë¸íàÿ òî÷êà ñòðåëêè
DrawBar(196,y+13,15,2,videlenie); DrawBar(196,y+13,15,2,color);
PutPixel(196,y,videlenie); //.òî÷êè PutPixel(196,y,color); //.òî÷êè
PutPixel(202,y,videlenie); PutPixel(202,y,color);
PutPixel(210,y+2,videlenie); PutPixel(210,y+2,color);
PutPixel(196,y+12,videlenie); PutPixel(196,y+12,color);
PutPixel(210,y+12,videlenie); PutPixel(210,y+12,color);
return; return;
case 18: //êàðòðèäæ case 18: //êàðòðèäæ
DrawBar(195,y,16,2,videlenie); DrawBar(195,y,16,2,color);
DrawBar(195,y+11,1,2,videlenie); DrawBar(195,y+11,1,2,color);
DrawBar(210,y+11,1,2,videlenie); DrawBar(210,y+11,1,2,color);
DrawBar(195,y+13,16,2,videlenie); DrawBar(195,y+13,16,2,color);
return; return;
case 19: //èçîáðàæåíèå case 19: //èçîáðàæåíèå
case 20: //èçîáðàæåíèå case 20: //èçîáðàæåíèå
DrawBar(195,y+14,16,1,videlenie); DrawBar(195,y+14,16,1,color);
return; return;
case 21: //äèñêåòà case 21: //äèñêåòà
PutPixel(195,y,videlenie); PutPixel(195,y,color);
PutPixel(210,y,videlenie); PutPixel(210,y,color);
return; return;
case 22: //áèáëèîòåêà case 22: //áèáëèîòåêà
DrawBar(195,y,16,1,videlenie); //ñâåðõó ñëåâà DrawBar(195,y,16,1,color); //ñâåðõó ñëåâà
DrawBar(195,y+1,3,1,videlenie); DrawBar(195,y+1,3,1,color);
DrawBar(195,y+2,2,1,videlenie); DrawBar(195,y+2,2,1,color);
PutPixel(195,y+3,videlenie); PutPixel(195,y+3,color);
PutPixel(210,y+11,videlenie); //ñïðàâà ñïðàâà PutPixel(210,y+11,color); //ñïðàâà ñïðàâà
DrawBar(209,y+12,2,1,videlenie); DrawBar(209,y+12,2,1,color);
DrawBar(208,y+13,3,1,videlenie); DrawBar(208,y+13,3,1,color);
DrawBar(207,y+14,4,1,videlenie); DrawBar(207,y+14,4,1,color);
return; return;
case 23: //àðõèâ case 23: //àðõèâ
PutPixel(195,y+3,videlenie); PutPixel(195,y+3,color);
PutPixel(195,y+11,videlenie); PutPixel(195,y+11,color);
PutPixel(210,y+3,videlenie); PutPixel(210,y+3,color);
PutPixel(210,y+11,videlenie); PutPixel(210,y+11,color);
DrawBar(195,y,7,1,videlenie); DrawBar(195,y,7,1,color);
DrawBar(204,y,7,1,videlenie); DrawBar(204,y,7,1,color);
DrawBar(195,y+14,7,1,videlenie); DrawBar(195,y+14,7,1,color);
DrawBar(204,y+14,7,1,videlenie); DrawBar(204,y+14,7,1,color);
DrawBar(195,y+1,5,1,videlenie); DrawBar(195,y+1,5,1,color);
DrawBar(206,y+1,5,1,videlenie); DrawBar(206,y+1,5,1,color);
DrawBar(195,y+13,5,1,videlenie); DrawBar(195,y+13,5,1,color);
DrawBar(206,y+13,5,1,videlenie); DrawBar(206,y+13,5,1,color);
DrawBar(195,y+2,3,1,videlenie); DrawBar(195,y+2,3,1,color);
DrawBar(208,y+2,3,1,videlenie); DrawBar(208,y+2,3,1,color);
DrawBar(195,y+12,3,1,videlenie); DrawBar(195,y+12,3,1,color);
DrawBar(208,y+12,3,1,videlenie); DrawBar(208,y+12,3,1,color);
return; return;
case 24: //îáðàç case 24: //îáðàç
DrawBar(195,y,6,1,videlenie); DrawBar(195,y,6,1,color);
DrawBar(195,y+1,4,1,videlenie); DrawBar(195,y+1,4,1,color);
DrawBar(195,y+2,3,1,videlenie); DrawBar(195,y+2,3,1,color);
DrawBar(195,y+3,2,2,videlenie); DrawBar(195,y+3,2,2,color);
DrawBar(195,y+5,1,5,videlenie); DrawBar(195,y+5,1,5,color);
DrawBar(195,y+10,2,2,videlenie); DrawBar(195,y+10,2,2,color);
DrawBar(195,y+12,3,1,videlenie); DrawBar(195,y+12,3,1,color);
DrawBar(195,y+13,4,1,videlenie); DrawBar(195,y+13,4,1,color);
DrawBar(195,y+14,6,1,videlenie); DrawBar(195,y+14,6,1,color);
DrawBar(195+11,y,5,1,videlenie); DrawBar(195+11,y,5,1,color);
DrawBar(195+13,y+1,3,1,videlenie); DrawBar(195+13,y+1,3,1,color);
DrawBar(195+14,y+2,2,1,videlenie); DrawBar(195+14,y+2,2,1,color);
DrawBar(195+15,y+3,1,2,videlenie); DrawBar(195+15,y+3,1,2,color);
DrawBar(195+15,y+10,1,2,videlenie); DrawBar(195+15,y+10,1,2,color);
DrawBar(195+14,y+12,2,1,videlenie); DrawBar(195+14,y+12,2,1,color);
DrawBar(195+13,y+13,3,1,videlenie); DrawBar(195+13,y+13,3,1,color);
DrawBar(195+11,y+14,5,1,videlenie); DrawBar(195+11,y+14,5,1,color);
return; return;
} }

View File

@ -16,7 +16,7 @@ void GetIni(byte onload)
dword buff, fsize, tj; dword buff, fsize, tj;
//читаем файл //читаем файл
buff = malloc(1048576); buff = malloc(1048576);
IF (onload==1) copystr(".ini", #program_path+strlen(#program_path)); //facepalm IF (onload==1) copystr(".ini", #program_path+strlen(#program_path));
ReadFile(0, 1048576, buff, #program_path); ReadFile(0, 1048576, buff, #program_path);
IF (EAX<>6) //если файла с настройками нет в папке с программой смотрим в папке по-умолчанию IF (EAX<>6) //если файла с настройками нет в папке с программой смотрим в папке по-умолчанию
ReadFile(0, 1048576, buff, "/sys/File managers/Eolite.ini"); ReadFile(0, 1048576, buff, "/sys/File managers/Eolite.ini");
@ -63,7 +63,7 @@ void GetIni(byte onload)
IF (errornum<0) //если ошибочка вышла при запуске IF (errornum<0) //если ошибочка вышла при запуске
{ {
//WriteDebug(#option); //WriteDebug(#option);
Write_Debug_Error(errornum); Write_Error(errornum);
} }
return; return;
} }
@ -79,8 +79,7 @@ void GetIni(byte onload)
IF (file_path) errornum=RunProgram(#file_path,''); IF (file_path) errornum=RunProgram(#file_path,'');
IF (errornum<0) //если ошибочка вышла при запуске IF (errornum<0) //если ошибочка вышла при запуске
{ {
//WriteDebug(#file_path); Write_Error(errornum);
Write_Debug_Error(errornum);
} }
} }
@ -89,39 +88,44 @@ void GetIni(byte onload)
/// нужно чтобы просто возвращало текст /// /// нужно чтобы просто возвращало текст ///
/////////////////////////////////////////// ///////////////////////////////////////////
void Write_Debug_Error(int error_number) void Write_Error(int error_number)
{ {
char unknown_error[8]; char error[256];
if (error_number<0) error_number=-1*error_number; if (error_number<0) error_number=-1*error_number;
switch (error_number) //èçâåñíàÿ îøèáêà - ïèøåì êàêàÿ è óõîäèì switch (error_number)
{ {
CASE 2: RunProgram(#NOTIFY_PATH, "Eolite: error 2 - Function is not supported for the given file system"); case 2: copystr("Error #2 - Function isn't supported for this file system", #error);
return; break;
CASE 3: RunProgram(#NOTIFY_PATH, "Eolite: error 3 - Unknown file system"); case 3: copystr("Error #3 - Unknown file system", #error);
return; break;
CASE 5: RunProgram(#NOTIFY_PATH, "Eolite: error 5 - File or folder not found"); case 5: copystr("Error #5 - File or folder not found", #error);
return; break;
CASE 6: RunProgram(#NOTIFY_PATH, "Eolite: error 6 - End of file, EOF"); case 6: copystr("Error #6 - End of file, EOF", #error);
return; break;
CASE 7: RunProgram(#NOTIFY_PATH, "Eolite: error 7 - Pointer lies outside of application memory"); case 7: copystr("Error #7 - Pointer lies outside of application memory", #error);
return; break;
case 8: RunProgram(#NOTIFY_PATH, "Eolite: error 8 - FAT table is destroyed"); case 8: copystr("Error #8 - FAT table is destroyed", #error);
return; break;
case 9: RunProgram(#NOTIFY_PATH, "Eolite: error 9 - FAT table is destroyed"); case 9: copystr("Error #9 - FAT table is destroyed", #error);
return; break;
case 10:RunProgram(#NOTIFY_PATH, "Eolite: error 10 - Access denied"); case 10:copystr("Error #10 - Access denied", #error);
RETURN; break;
case 11:RunProgram(#NOTIFY_PATH, "Eolite: error 11 - Device error"); case 11:copystr("Error #11 - Device error", #error);
RETURN; break;
case 30:RunProgram(#NOTIFY_PATH, "Eolite: error 30 - Not enough memory"); case 30:copystr("Error #30 - Not enough memory", #error);
RETURN; break;
case 31:RunProgram(#NOTIFY_PATH, "Eolite: error 31 - File is not executable"); case 31:copystr("Error #31 - File is not executable", #error);
RETURN; break;
case 32:RunProgram(#NOTIFY_PATH, "Eolite: error 32 - Too many processes"); case 32:copystr("Error #32 - Too many processes", #error);
RETURN; break;
default:copystr(IntToStr(error_number), #unknown_error); default:copystr(IntToStr(error_number), #error);
copystr(" - Unknown error number O_o", #unknown_error+strlen(#unknown_error)); copystr(" - Unknown error number O_o", #error+strlen(#error));
RunProgram(#NOTIFY_PATH, #unknown_error);
} }
if (curbtn>=0) Line_ReDraw(0xFF0000, curbtn);
Pause(5);
RunProgram(#NOTIFY_PATH, #error);
//DrawBar(192,onTop(0, BUTTON_HEIGHT+7),onLeft(27,192),BUTTON_HEIGHT,0xFF0000);
//WriteText(205,onTop(-5, BUTTON_HEIGHT+7),0x80,0xFFFFFF,#error,0);
} }

View File

@ -33,7 +33,8 @@ char program_path[4096];
struct mouse{ struct mouse
{
unsigned int x,y,lkm,pkm,hor,vert; unsigned int x,y,lkm,pkm,hor,vert;
void get(); void get();
}; };
@ -76,7 +77,9 @@ void mouse::get()
} }
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
struct proc_info{ struct proc_info
{
#define SelfInfo -1
dword use_cpu; dword use_cpu;
word pos_in_stack,num_slot,rezerv1; word pos_in_stack,num_slot,rezerv1;
char name[11]; char name[11];
@ -85,45 +88,44 @@ struct proc_info{
word status_slot,rezerv3; word status_slot,rezerv3;
dword work_left,work_top,work_width,work_height; dword work_left,work_top,work_width,work_height;
char status_window; char status_window;
void GetInfo(dword ECX); void GetInfo( ECX);
byte reserved[1024-71]; byte reserved[1024-71];
#define SelfInfo -1
}; };
void proc_info::GetInfo(dword EBX, ECX) void proc_info::GetInfo( EBX, ECX)
{ {
EAX = 9; $mov eax,9;
$int 0x40 $int 0x40
} }
inline fastcall int GetSlot(dword ECX) inline fastcall int GetSlot( ECX)
{ {
EAX = 18; $mov eax,18;
EBX = 21; $mov ebx,21;
$int 0x40 $int 0x40
} }
inline fastcall int ActiveProcess() inline fastcall int ActiveProcess()
{ {
EAX = 18; $mov eax,18;
EBX = 7; $mov ebx,7;
$int 0x40 $int 0x40
} }
//------------------------------------------------------------------------------- //-------------------------------------------------------------------------------
inline fastcall dword WaitEvent(){ inline fastcall dword WaitEvent(){
EAX = 10; // wait here for event $mov eax,10;
$int 0x40 $int 0x40
} }
inline fastcall void SetEventMask(dword EBX) inline fastcall void SetEventMask( EBX)
{ {
EAX = 40; EAX = 40;
$int 0x40 $int 0x40
} }
inline fastcall word GetKey(){ //Gluk fix inline fastcall word GetKey(){ //+Gluk fix
$push edx $push edx
@getkey: @getkey:
$mov eax,2 $mov eax,2
@ -152,7 +154,7 @@ inline fastcall void ExitProcess(){
} }
inline fastcall void Pause(dword EBX){ inline fastcall void Pause(dword EBX){
$mov eax, 5 //<2F> ã§ , ¢ á®âëå ¤®«ïå ᥪ㭤ë $mov eax, 5
$int 0x40 $int 0x40
} }
@ -176,14 +178,14 @@ dword mainAreaColour,byte headerType,dword headerColour,EDI)
$int 0x40 $int 0x40
} }
inline fastcall void CreateThread(dword ECX,EDX) inline fastcall void CreateThread( ECX,EDX)
{ {
EAX = 51; EAX = 51;
EBX = 1; EBX = 1;
$int 0x40 $int 0x40
} }
inline fastcall void DrawTitle(dword ECX){ inline fastcall void DrawTitle( ECX){
EAX = 71; EAX = 71;
EBX = 1; EBX = 1;
$int 0x40; $int 0x40;
@ -204,14 +206,15 @@ inline fastcall dword GetScreenHeight()
$and eax,0x0000FFFF $and eax,0x0000FFFF
} }
inline fastcall void MoveSize(dword EBX,ECX,EDX,ESI){ inline fastcall void MoveSize( EBX,ECX,EDX,ESI){
EAX = 67; $mov eax,67;
$int 0x40 $int 0x40
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
inline fastcall dword strlen(EDI){ inline fastcall dword strlen( EDI)
{
asm { asm {
xor ecx, ecx xor ecx, ecx
xor eax, eax xor eax, eax
@ -223,7 +226,7 @@ inline fastcall dword strlen(EDI){
} }
inline fastcall copystr(dword ESI,EDI) inline fastcall copystr( ESI,EDI)
{ {
$cld $cld
l1: l1:
@ -234,7 +237,7 @@ l1:
} }
char buffer[11]; char buffer[11];
inline fastcall dword IntToStr(dword ESI) inline fastcall dword IntToStr( ESI)
{ {
$mov edi, #buffer $mov edi, #buffer
$mov ecx, 10 $mov ecx, 10
@ -317,7 +320,7 @@ inline fastcall unsigned int find_symbol(ESI,BL)
} }
inline fastcall ChangeCase(dword EDX) inline fastcall ChangeCase( EDX)
{ {
AL=DSBYTE[EDX]; AL=DSBYTE[EDX];
IF(AL>='a')&&(AL<='z')DSBYTE[EDX]=AL&0x5f; IF(AL>='a')&&(AL<='z')DSBYTE[EDX]=AL&0x5f;
@ -334,7 +337,8 @@ inline fastcall ChangeCase(dword EDX)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
inline fastcall void PutPixel(dword EBX,ECX,EDX){ inline fastcall void PutPixel( EBX,ECX,EDX)
{
EAX=1; EAX=1;
$int 0x40 $int 0x40
} }
@ -351,7 +355,7 @@ void DefineButton(dword x,y,w,h,EDX,ESI)
$int 0x40 $int 0x40
} }
inline fastcall void DeleteButton(dword EDX) inline fastcall void DeleteButton( EDX)
{ {
EAX = 8; EAX = 8;
EDX += BT_DEL; EDX += BT_DEL;
@ -368,28 +372,26 @@ void WriteText(dword x,y,byte fontType, dword color, EDX, ESI)
void DrawBar(dword x,y,w,h,EDX) void DrawBar(dword x,y,w,h,EDX)
{ {
#speed
EAX = 13; EAX = 13;
EBX = x<<16+w; EBX = x<<16+w;
ECX = y<<16+h; ECX = y<<16+h;
$int 0x40 $int 0x40
#codesize
} }
void DrawRegion_3D(dword x,y,width,height,color1,color2) void DrawRegion_3D(dword x,y,width,height,color1,color2)
{ {
DrawBar(x,y,width+1,1,color1); //¯®«®á  £®à ᢥàåã DrawBar(x,y,width+1,1,color1);
DrawBar(x,y+1,1,height-1,color1); //¯®«®á  á«¥¢  DrawBar(x,y+1,1,height-1,color1);
DrawBar(x+width,y+1,1,height,color2); //¯®«®á  á¯à ¢  DrawBar(x+width,y+1,1,height,color2);
DrawBar(x,y+height,width,1,color2); //¯®«®á  £®à á­¨§ã DrawBar(x,y+height,width,1,color2);
} }
void DrawFlatButton(dword x,y,width,height,id,color,text) void DrawFlatButton(dword x,y,width,height,id,color,text)
{ {
DrawRegion_3D(x,y,width,height,0x94AECE,0x94AECE); DrawRegion_3D(x,y,width,height,0x94AECE,0x94AECE);
DrawRegion_3D(x+1,y+1,width-2,height-2,0xFFFFFF,0xC7C7C7); DrawRegion_3D(x+1,y+1,width-2,height-2,0xFFFFFF,0xC7C7C7);
DrawBar(x+2,y+2,width-3,height-3,color); //§ «¨¢ª  DrawBar(x+2,y+2,width-3,height-3,color);
IF (id<>0) DefineButton(x+1,y+1,width-2,height-2,id+BT_HIDE,0xEFEBEF); //ª­®¯ª  IF (id<>0) DefineButton(x+1,y+1,width-2,height-2,id+BT_HIDE,0xEFEBEF);
WriteText(-strlen(text)*6+width/2+x+1,height/2-3+y,0x80,0,text,0); WriteText(-strlen(text)*6+width/2+x+1,height/2-3+y,0x80,0,text,0);
} }
@ -412,7 +414,7 @@ void PutImage(dword EBX,w,h,x,y)
} }
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
inline fastcall void WriteDebug(dword EDX) inline fastcall void debug( EDX)
{ {
$mov eax, 63 $mov eax, 63
$mov ebx, 1 $mov ebx, 1
@ -430,7 +432,7 @@ done:
$int 0x40 $int 0x40
} }
inline fastcall void WriteFullDebug(dword ESI) inline fastcall void WriteFullDebug( ESI)
{ {
WriteDebug(""); WriteDebug("");
WriteDebug(ESI); WriteDebug(ESI);