Subversion Repositories Kolibri OS

Rev

Rev 5115 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5115 Rev 5822
Line 390... Line 390...
390
	Word sizeX, Word sizeY,
390
	Word sizeX, Word sizeY,
391
	Byte mainAreaType,
391
	Byte mainAreaType,
392
	Dword mainAreaColour,
392
	Dword mainAreaColour,
393
	Byte headerType,
393
	Byte headerType,
394
	Dword headerColour,
394
	Dword headerColour,
395
	Dword borderColour
395
	char *title
396
	)
396
	)
397
{
397
{
398
	Dword arg1, arg2, arg3, arg4;
398
	Dword arg1, arg2, arg3, arg4;
Line 399... Line 399...
399
 
399
 
Line 407... Line 407...
407
		mov eax, 0
407
		mov eax, 0
408
		mov ebx, arg1
408
		mov ebx, arg1
409
		mov ecx, arg2
409
		mov ecx, arg2
410
		mov edx, arg3
410
		mov edx, arg3
411
		mov esi, arg4
411
		mov esi, arg4
412
		mov edi, borderColour
412
		mov edi, title
413
		int 0x40
413
		int 0x40
414
	}
414
	}
415
}
415
}
Line 724... Line 724...
724
		int 0x40
724
		int 0x40
725
	}
725
	}
726
}
726
}
Line -... Line 727...
-
 
727
 
-
 
728
 
-
 
729
// 48, 4 -- get skin height
-
 
730
Dword kos_GetSkinHeight()
-
 
731
{
-
 
732
	__asm{
-
 
733
		mov eax, 48
-
 
734
		mov ebx, 4
-
 
735
		int 0x40
-
 
736
	}
-
 
737
}
727
 
738
 
728
 
739
 
729
// ôóíêöèÿ 70 äîñòóï ê ôàéëîâîé ñèñòåìå
740
// ôóíêöèÿ 70 äîñòóï ê ôàéëîâîé ñèñòåìå
730
Dword kos_FileSystemAccess( kosFileInfo *fileInfo )
741
Dword kos_FileSystemAccess( kosFileInfo *fileInfo )
Line 814... Line 825...
814
		int 0x40
825
		int 0x40
815
	}
826
	}
816
}
827
}
Line -... Line 828...
-
 
828
 
-
 
829
 
-
 
830
// 71,1 set window caption
-
 
831
void kos_SetWindowCaption(char *caption)
-
 
832
{
-
 
833
	__asm{
-
 
834
		mov eax, 71
-
 
835
		mov ebx, 1
-
 
836
		mov ecx, caption
-
 
837
		int 0x40
-
 
838
	}
Line 817... Line 839...
817
 
839
}
818
 
840
 
819
 
841
 
820
// âûçîâ àáñòðàêòíîãî ìåòîäà
842
// âûçîâ àáñòðàêòíîãî ìåòîäà