njSetBackColor Japanese
<-|INDEX|->
Sets background color.

FORMAT

#include <Ninja.h>
void  njSetBackColor( color0, color1, color2 )
Uint32  color0
Uint32  color1
Uint32  color2

PARAMETERS

color0
Upper left color
color1
Upper right color
color2
Bottom left color

RETURN VALUE

None

ERROR VALUE

None

FUNCTION

Sets background color.
Colors should be specified with ARGB32bit.
Bottom right color is set automatically.

EXAMPLE

This sample makes a background with blue in upper and black at the bottom side of the screen.
njSetBackColor( 0xff0000ff,0xff0000ff,0xff000000 );
while(1) {
  njDrawLine2D( ... );
  ....
  njWaitVSync();
}

NOTES


RELATED TOPICS

njWaitVSync()

njSetBackColor
<-|INDEX|->

Copyright SEGA ENTERPRISES, LTD., 1997