Ninja Library - System Function

njAdjustDisplay

Adjusts the display position

FORMAT

void njAdjustDisplay( xadjust, yadjust )
Sint32 xadjust
Sint32 yadjust

PARAMETER

 xadjust  Display position in horizontal direction (-100 < xadjust < 640) 
 yadjust  Display position in vertical direction (-15 < yadjust < 240) 

RETURN

None

DESCRIPTION

Adjusts the frame buffer position on the screen. Make the change during V-BLANK. The initial value is 0,0.

EXAMPLE

/* Set the display position at (10, 0) */
njAdjustDisplay(10,0);

REFERENCE

njSetVSyncFunction()

njAdjustDisplay
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999