Table of Contents


RGB_SET

Definition

struct RGB_SET
{
    short r;
    short g;
    short b;
    RGB_SET() {r = g = b = -1; }
    RGB_SET(short sr, short sg, short sb)
    {
        r = sr;
        g = sg;
        b = sb;
    }
};

Properties

r the Red value
g the Green value
b the Blue value

Data Members

RGB_SET() - this constructor initializes an empty RGB set

RGB_SET(short, short, short) - this constructor inistializes an RGN object with the assigned RGB values