Subversion Repositories Kolibri OS

Rev

Rev 2496 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2496 Rev 2528
Line 297... Line 297...
297
inline fastcall void PutPixel(dword EBX,ECX,EDX){
297
inline fastcall void PutPixel(dword EBX,ECX,EDX){
298
  EAX=1;
298
  EAX=1;
299
  $int 0x40
299
  $int 0x40
300
}
300
}
Line 301... Line 301...
301
 
301
 
-
 
302
void DefineButton(dword x,y,w,h,EDX,ESI)
302
void DefineButton(dword x,y,w,h,EDX,ESI){
303
{
-
 
304
 	EAX = 8;
-
 
305
	$push edx
-
 
306
	EDX += BT_DEL; //âíà÷àëå óäàëÿåì êíîïó ñ ýòè èä, ïîòîì ñîçäà¸ì
303
	EAX = 8;
307
	$int 0x40;
304
	EBX = x<<16+w;
308
	EBX = x<<16+w;
-
 
309
	ECX = y<<16+h;
305
	ECX = y<<16+h;
310
 	$pop edx
306
	$int 0x40
311
	$int 0x40
Line 307... Line 312...
307
}
312
}
308
 
313