MakeCLUTBackgroundEntry

Constructs a color entry to set the background color of the display.

Synopsis

VDLEntry MakeCLUTBackgroundEntry (uint8 r,uint8 g,uint8 b)

Description

This macro constructs a VDL color entry that sets the background color of the display according to the specified red, green, and blue components.

Arguments

r
An unsigned byte specifying the red component of the color to be built, with a value in the range of 0-255.
g
An unsigned byte specifying the green component of the color to be built, with a value in the range of 0-255.
b
An unsigned byte specifying the blue component of the color to be built, with a value in the range of 0-255.

Return Value

The macro returns a 32-bit color entry value.

Implementation

Macro implemented in graphics.h V20.

Associated File

graphics.h

See Also

SetScreenColor(), MakeCLUTGreenEntry(), MakeCLUTBlueEntry(), MakeCLUTRedEntry(), MakeCLUTColorEntry()