Return to previous page | Return to menu | Go to next page


void
Scroll function

slColOffsetA,B

Set color offset

Format

void slColOffsetA(r , g , b)
void slColOffsetB(r , g , b)
Sint16 r ;
Sint16 g ;
Sint16 b ;

Parameter

r RED offset value (signed 9 bits)
g GREEN offset value (signed 9 bits)
b BLUE offset value (signed 9 bits)

Function

Set each RGB color offset value.
The function “slColOffsetA” sets the offset value used in color offset A, and the function “slColOffsetB” sets the offset value used in color offset B.

Return value

None

Remarks

If you want to set a negative number for the offset value, substitute 2's complement.
Color offset processing is executed after color calculation processing.

Reference: Chapter 8 Scroll

slColOffsetA,B


Return to previous page | Return to menu | Go to next page