Subversion Repositories Kolibri OS

Rev

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

Rev 5276 Rev 5474
Line 313... Line 313...
313
	arg2 = ( fontType << 24 ) | textColour;
313
	arg2 = ( fontType << 24 ) | textColour;
314
	//
314
	//
315
	kos_sysfunc4(arg2, textPtr, arg1, textLen);
315
	kos_sysfunc4(arg2, textPtr, arg1, textLen);
316
}
316
}
Line 317... Line -...
317
 
-
 
318
 
317
 
319
// ôóíêöèÿ 5 ïàóçà, â ñîòûõ äîëÿõ ñåêóíäû
318
// ôóíêöèÿ 5 ïàóçà, â ñîòûõ äîëÿõ ñåêóíäû
320
void kos_Pause( Dword value )
319
void kos_Pause( Dword value )
321
{
320
{
322
	//
321
	//
Line 326... Line 325...
326
		mov ebx, value
325
		mov ebx, value
327
		int 0x40
326
		int 0x40
328
	}
327
	}
329
}
328
}
Line 330... Line -...
330
 
-
 
331
 
329
 
332
// ôóíêöèÿ 7 íàðèñîâàòü èçîáðàæåíèå
330
// ôóíêöèÿ 7 íàðèñîâàòü èçîáðàæåíèå
333
void kos_PutImage( RGB * imagePtr, Word sizeX, Word sizeY, Word x, Word y )
331
void kos_PutImage( RGB * imagePtr, Word sizeX, Word sizeY, Word x, Word y )
334
{
332
{
Line 515... Line 513...
515
		mov		mB, eax
513
		mov		mB, eax
516
	}
514
	}
517
	//
515
	//
518
	kos_ProcessInfo( &sPI );
516
	kos_ProcessInfo( &sPI );
519
	//
517
	//
-
 
518
	int left = (int)((sPI.processInfo.x_size - 384) / 2);
-
 
519
	int top = sPI.processInfo.y_size - 384 - left;
520
	buttons = mB;
520
	buttons = mB;
521
	cursorX = curX - sPI.processInfo.x_start;
521
	cursorX = curX - sPI.processInfo.x_start - left;
522
	cursorY = curY - sPI.processInfo.y_start;
522
	cursorY = curY - sPI.processInfo.y_start - top;
523
}
523
}
Line 524... Line 524...
524
 
524
 
525
 
525