Subversion Repositories Kolibri OS

Rev

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

Rev 7182 Rev 7203
Line 511... Line 511...
511
	ECX = y<<16+h;
511
	ECX = y<<16+h;
512
	EDX = color;
512
	EDX = color;
513
	$int 0x40
513
	$int 0x40
514
}
514
}
Line 515... Line 515...
515
 
515
 
516
void DefineButton(dword x,y,w,h,EDX,ESI)
516
:void DefineButton(dword x,y,w,h,id,color)
517
{
517
{
518
	EAX = 8;
-
 
519
	$push edx
518
	EAX = 8;
520
	EDX += BT_DEL;
519
	EDX = id + BT_DEL;
521
	$int 0x40;
520
	$int 0x40;
-
 
521
	EDX = id;
522
	$pop edx
522
	ESI = color;
523
	EBX = x<<16+w;
523
	EBX = x<<16+w;
524
	ECX = y<<16+h;
524
	ECX = y<<16+h;
525
	$int 0x40
525
	$int 0x40