Subversion Repositories Kolibri OS

Rev

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

Rev 7358 Rev 7373
Line 456... Line 456...
456
	$int 0x40;
456
	$int 0x40;
457
}
457
}
Line 458... Line 458...
458
 
458
 
459
:dword WriteBufText(dword x,y,byte fontType, dword color, str_offset, buf_offset)
459
:dword WriteBufText(dword x,y,byte fontType, dword color, str_offset, buf_offset)
460
{
-
 
461
	EAX = 4;
-
 
462
	EBX = x<<16+y;
-
 
463
	ECX = fontType<<24+color;
-
 
464
	EDX = str_offset;
460
{
-
 
461
	EDI = buf_offset;
-
 
462
	WriteText(x,y, fontType, color, str_offset);
-
 
463
}
-
 
464
 
-
 
465
:void WriteTextWithBg(dword x,y,byte fontType, dword color, str_offset, bgcolor)
465
	EDI = buf_offset;
466
{
-
 
467
	EDI = bgcolor;
466
	$int 0x40;
468
	WriteText(x,y, fontType, color, str_offset);
Line 467... Line 469...
467
}
469
}
468
 
470
 
469
:void WriteNumber(dword x,y,byte fontType, dword color, count, number_or_offset)
471
:void WriteNumber(dword x,y,byte fontType, dword color, count, number_or_offset)