Table of Contents

CzColour::SetRGB

Description

Set the red, green and blue components of a CzColour object.

Function prototype

bool CzColour::SetRGB(unsigned char R, unsigned char G, unsigned char B);

Arguments

Name Type Comment
R unsigned char The red component of the desired colour.
G unsigned char The green component of the desired colour.
B unsigned char The blue component of the desired colour.

Return value

False if an error occurred, and true otherwise.

Comments

None.