diff --git a/programs/network/htmlv/browser/HTMLv.c-- b/programs/network/htmlv/browser/HTMLv.c-- index dbcad2b134..29cf2421bc 100644 --- a/programs/network/htmlv/browser/HTMLv.c-- +++ b/programs/network/htmlv/browser/HTMLv.c-- @@ -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; diff --git a/programs/network/htmlv/lib/file_system.h-- b/programs/network/htmlv/lib/file_system.h-- index acb84181f5..dc7ce79e6a 100644 --- a/programs/network/htmlv/lib/file_system.h-- +++ b/programs/network/htmlv/lib/file_system.h-- @@ -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 = diff --git a/programs/network/htmlv/lib/kolibri.h-- b/programs/network/htmlv/lib/kolibri.h-- index 9c66b78f06..fe1fc9c493 100644 --- a/programs/network/htmlv/lib/kolibri.h-- +++ b/programs/network/htmlv/lib/kolibri.h-- @@ -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;