diff --git a/programs/fs/Eolite/trunk/include/LVabout.h-- b/programs/fs/Eolite/trunk/include/LVabout.h-- index 96e021fe15..927866cafb 100644 --- a/programs/fs/Eolite/trunk/include/LVabout.h-- +++ b/programs/fs/Eolite/trunk/include/LVabout.h-- @@ -44,7 +44,6 @@ void authors() IF (GetKey()==27) ExitProcess(); break; case evReDraw: - WindowRedrawStatus(1); DefineAndDrawWindow(500,200,181,256,0x34,0x10EFEBEF,0,0,"About Eolite"); DrawBar(0,0,172,50,0x8494C4); //голубое сзади PutPaletteImage(#logo,85,85,43,7,#logo_pal); @@ -56,7 +55,6 @@ void authors() WriteText(12,170,0x80,0,"Visit",0); DrawLink(48,170,23, "kolibri-os.narod.ru"); //ссылкa DrawFlatButton(85,190,70,22,0,0xE4DFE1, "Close"); - WindowRedrawStatus(2); } } diff --git a/programs/fs/Eolite/trunk/lib/kolibri.h-- b/programs/fs/Eolite/trunk/lib/kolibri.h-- index d493cabb82..6416471091 100644 --- a/programs/fs/Eolite/trunk/lib/kolibri.h-- +++ b/programs/fs/Eolite/trunk/lib/kolibri.h-- @@ -156,15 +156,19 @@ inline fastcall void Pause(dword EBX){ } //------------------------------------------------------------------------------ -void DefineAndDrawWindow(dword x,y,sizeX,sizeY,byte mainAreaType,dword - mainAreaColor,byte headerType,dword headerColor,EDI) +void DefineAndDrawWindow(dword x,y,sizeX,sizeY, +byte mainAreaType, dword mainAreaColor,byte headerType,dword headerColor,EDI) { + WindowRedrawStatus(1); + EBX = x << 16 + sizeX; ECX = y << 16 + sizeY; EDX = mainAreaType << 24 | mainAreaColor; ESI = headerType << 24 | headerColor; $xor eax,eax $int 0x40 + + WindowRedrawStatus(2); } inline fastcall void CreateThread(dword ECX,EDX)