forked from KolibriOS/kolibrios
Eolite: fix
git-svn-id: svn://kolibrios.org@2242 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
fd524f2a8c
commit
de5dc8e3f0
@ -366,9 +366,7 @@ int pressed_y;
|
|||||||
|
|
||||||
inline fastcall void draw_window()
|
inline fastcall void draw_window()
|
||||||
{
|
{
|
||||||
WindowRedrawStatus(1);
|
|
||||||
DefineAndDrawWindow(98,90,582,482,0x73,0x10E4DFE1,0,0,title);
|
DefineAndDrawWindow(98,90,582,482,0x73,0x10E4DFE1,0,0,title);
|
||||||
WindowRedrawStatus(2);
|
|
||||||
Form.GetInfo(#Form, SelfInfo);
|
Form.GetInfo(#Form, SelfInfo);
|
||||||
IF (Form.height==GetSkinWidth()+3) return; //íè÷åãî íå äåëàòü åñëè îêíî ñõëîïíóòî â çàãîëîâîê
|
IF (Form.height==GetSkinWidth()+3) return; //íè÷åãî íå äåëàòü åñëè îêíî ñõëîïíóòî â çàãîëîâîê
|
||||||
IF (Form.height<280) MoveSize(OLD,OLD,OLD,280);
|
IF (Form.height<280) MoveSize(OLD,OLD,OLD,280);
|
||||||
|
@ -159,7 +159,9 @@ inline fastcall void Pause(dword EBX){
|
|||||||
void DefineAndDrawWindow(dword x,y,sizeX,sizeY,
|
void DefineAndDrawWindow(dword x,y,sizeX,sizeY,
|
||||||
byte mainAreaType, dword mainAreaColor,byte headerType,dword headerColor,EDI)
|
byte mainAreaType, dword mainAreaColor,byte headerType,dword headerColor,EDI)
|
||||||
{
|
{
|
||||||
WindowRedrawStatus(1);
|
EAX = 12;
|
||||||
|
EBX = 1;
|
||||||
|
$int 0x40
|
||||||
|
|
||||||
EBX = x << 16 + sizeX;
|
EBX = x << 16 + sizeX;
|
||||||
ECX = y << 16 + sizeY;
|
ECX = y << 16 + sizeY;
|
||||||
@ -168,7 +170,9 @@ byte mainAreaType, dword mainAreaColor,byte headerType,dword headerColor,EDI)
|
|||||||
$xor eax,eax
|
$xor eax,eax
|
||||||
$int 0x40
|
$int 0x40
|
||||||
|
|
||||||
WindowRedrawStatus(2);
|
EAX = 12;
|
||||||
|
EBX = 2;
|
||||||
|
$int 0x40
|
||||||
}
|
}
|
||||||
|
|
||||||
inline fastcall void CreateThread(dword ECX,EDX)
|
inline fastcall void CreateThread(dword ECX,EDX)
|
||||||
@ -184,12 +188,6 @@ inline fastcall void DrawTitle(dword ECX){
|
|||||||
$int 0x40;
|
$int 0x40;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline fastcall void WindowRedrawStatus(dword EBX){
|
|
||||||
EAX = 12;
|
|
||||||
$int 0x40
|
|
||||||
}
|
|
||||||
|
|
||||||
inline fastcall dword GetSkinWidth(){
|
inline fastcall dword GetSkinWidth(){
|
||||||
EAX = 48;
|
EAX = 48;
|
||||||
EBX = 4;
|
EBX = 4;
|
||||||
|
Loading…
Reference in New Issue
Block a user