Subversion Repositories Kolibri OS

Rev

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

Rev 7089 Rev 7160
Line 440... Line 440...
440
	$int 64
440
	$int 64
441
}
441
}
Line 442... Line 442...
442
 
442
 
443
#define DRAW_DESKTOP_BG_TILE 1
443
#define DRAW_DESKTOP_BG_TILE 1
444
#define DRAW_DESKTOP_BG_STRETCH 2
444
#define DRAW_DESKTOP_BG_STRETCH 2
445
void SetBackgroundImage(dword w,h, image, mode)
445
:void SetBackgroundImage(dword w,h, image, mode)
446
{
446
{
447
	$mov     eax,15      // SF_BACKGROUND_SET 15 - work with desktop background graphics
447
	$mov     eax,15      // SF_BACKGROUND_SET 15 - work with desktop background graphics
448
	$mov     ebx,4       // SSF_MODE_BG 4 - set drawing mode for the background
448
	$mov     ebx,4       // SSF_MODE_BG 4 - set drawing mode for the background
449
	$mov     ecx,mode    // drawing mode - tile (1), stretch (2)
449
	$mov     ecx,mode    // drawing mode - tile (1), stretch (2)
Line 534... Line 534...
534
	EDX = id;
534
	EDX = id;
535
	ESI = color;
535
	ESI = color;
536
	$int 0x40
536
	$int 0x40
537
}
537
}
Line 538... Line 538...
538
 
538
 
539
void DefineDragableWindow(dword _x, _y, _w, _h)
539
:void DefineDragableWindow(dword _x, _y, _w, _h)
540
{
540
{
541
	DefineAndDrawWindow(_x, _y, _w, _h, 0x41,0x000000,NULL,0b);
541
	DefineAndDrawWindow(_x, _y, _w, _h, 0x41,0x000000,NULL,0b);
Line 542... Line 542...
542
}
542
}