Subversion Repositories Kolibri OS

Rev

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

Rev 8396 Rev 8946
Line 382... Line 382...
382
	$int 64;
382
	$int 64;
383
}
383
}
Line 384... Line 384...
384
 
384
 
Line -... Line 385...
-
 
385
//------------------------------------------------------------------------------
385
//------------------------------------------------------------------------------
386
 
386
 
387
#define ROLLED_UP 0x04
387
:void DefineAndDrawWindow(dword _x, _y, _w, _h, _window_type, _bgcolor, _title, _flags)
388
:void DefineAndDrawWindow(dword _x, _y, _w, _h, _window_type, _bgcolor, _title, _flags)
388
{
389
{
389
	EAX = 12;              // function 12:tell os about windowdraw
390
	EAX = 12;              // function 12:tell os about windowdraw
Line 396... Line 397...
396
	EDX = _window_type << 24 | _bgcolor;
397
	EDX = _window_type << 24 | _bgcolor;
397
	EDI = _title;
398
	EDI = _title;
398
	ESI = _flags;
399
	ESI = _flags;
399
	$int 0x40
400
	$int 0x40
Line 400... Line -...
400
 
-
 
401
 
401
 
402
	EAX = 12;              // function 12:tell os about windowdraw
402
	EAX = 12;              // function 12:tell os about windowdraw
403
	EBX = 2;
403
	EBX = 2;
404
	$int 0x40
404
	$int 0x40