Struct MessageColor

Struct Documentation

struct MessageColor

Structure to store log message color information.

Public Functions

MessageColor()

Default constructor, only defaults Alpha to 255.

MessageColor(short red, short green, short blue)

Constructs an RGBA color with Alpha defaulting to 255.

Values can be from 0 to 255.

Parameters
  • red: - The value to use for the Red color.

  • green: - The value to use for the Green color.

  • blue: - The value to use for the Blue color.

MessageColor(short red, short green, short blue, short alpha)

Constructs an RGBA color.

Values can be from 0 to 255.

Parameters
  • red: - The value to use for the Red color.

  • green: - The value to use for the Green color.

  • blue: - The value to use for the Blue color.

  • alpha: - The value to use for the Alpha color.

Public Members

short r

The Red color, ranging from 0 to 255.

short g

The Green color, ranging from 0 to 255.

short b

The Blue color, ranging from 0 to 255.

short a

The Alpha color, ranging from 0 to 255.