/programs/fs/Eolite/trunk/lib/kolibri.h-- |
---|
299,10 → 299,15 |
$int 0x40 |
} |
void DefineButton(dword x,y,w,h,EDX,ESI){ |
void DefineButton(dword x,y,w,h,EDX,ESI) |
{ |
EAX = 8; |
$push edx |
EDX += BT_DEL; //âíà÷àëå óäàëÿåì êíîïó ñ ýòè èä, ïîòîì ñîçäà¸ì |
$int 0x40; |
EBX = x<<16+w; |
ECX = y<<16+h; |
$pop edx |
$int 0x40 |
} |