HTMLv: small fix

git-svn-id: svn://kolibrios.org@2495 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2012-03-22 13:28:02 +00:00
parent 2dedf37692
commit 73a2c08d9c
3 changed files with 19 additions and 4 deletions

View File

@ -125,7 +125,7 @@ void Draw_Window()
DefineAndDrawWindow(215,100,640,480,0x73,0x00E4DFE1,0,0,0);
GetProcessInfo(#Form, SelfInfo);
IF (Form.height==GetSkinWidth()+3) //если свернуто в заголовок, ничего не рисуем
IF (Form.status_window==4) //если свернуто в заголовок, ничего не рисуем
{
DrawTitle(#header);
return;

View File

@ -106,7 +106,7 @@ void DeleteFile(dword del_file_path)
// Ïðî÷èòàòü ôàéë //
////////////////////////////
f70 read_file_70;
void ReadFile(dword pos, file_size, read_buffer, file_path)
int ReadFile(dword pos, file_size, read_buffer, file_path)
{
read_file_70.func = 0;
read_file_70.param1 = pos;
@ -124,7 +124,7 @@ void ReadFile(dword pos, file_size, read_buffer, file_path)
// Ïðî÷èòàòü ïàïêó //
///////////////////////////
f70 read_dir_70;
void ReadDir(dword file_count, read_buffer, dir_path)
int ReadDir(dword file_count, read_buffer, dir_path)
{
read_dir_70.func = 1;
read_dir_70.param1 =

View File

@ -198,7 +198,7 @@ inline fastcall dword GetSkinWidth()
$int 0x40
}
inline fastcall void ChangeSkin(ECX){
inline fastcall void SetSystemSkin(ECX){
EAX = 48;
EBX = 8;
$int 0x40
@ -523,6 +523,21 @@ inline fastcall dword CreateThread(dword ECX,EDX)
$int 0x40
}
inline fastcall int GetSlot(dword ECX)
{
EAX = 18;
EBX = 21;
$int 0x40
}
inline fastcall int GetActiveProcess()
{
EAX = 18;
EBX = 7;
$int 0x40
}
void WriteText(dword x,y,byte fontType, dword color, EDX, ESI)
{
EAX = 4;