Subversion Repositories Kolibri OS

Rev

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

Rev 1805 Rev 4481
Line 363... Line 363...
363
	Word sizeX, Word sizeY,
363
	Word sizeX, Word sizeY,
364
	Byte mainAreaType,
364
	Byte mainAreaType,
365
	Dword mainAreaColour,
365
	Dword mainAreaColour,
366
	Byte headerType,
366
	Byte headerType,
367
	Dword headerColour,
367
	Dword headerColour,
368
	Dword borderColour
368
	char *textPtr
369
	)
369
	)
370
{
370
{
371
	Dword arg1, arg2, arg3, arg4;
371
	Dword arg1, arg2, arg3, arg4;
Line 372... Line 372...
372
 
372
 
Line 380... Line 380...
380
		mov eax, 0
380
		mov eax, 0
381
		mov ebx, arg1
381
		mov ebx, arg1
382
		mov ecx, arg2
382
		mov ecx, arg2
383
		mov edx, arg3
383
		mov edx, arg3
384
		mov esi, arg4
384
		mov esi, arg4
385
		mov edi, borderColour
385
		mov edi, textPtr
386
		int 0x40
386
		int 0x40
387
	}
387
	}
388
}
388
}
Line 865... Line 865...
865
	kos_Main();
865
	kos_Main();
866
	// âûõîä
866
	// âûõîä
867
	kos_ExitApp();
867
	kos_ExitApp();
868
}
868
}
Line -... Line 869...
-
 
869
 
-
 
870
// sysfn 71.1
-
 
871
void kos_ChangeWindowCaption(
-
 
872
	char *textPtr
-
 
873
	)
-
 
874
{
-
 
875
	__asm{
-
 
876
		mov eax, 71
-
 
877
		mov ebx, 1
-
 
878
		mov ecx, textPtr
-
 
879
		int 0x40
-
 
880
	}