Struct MessageColor¶
Defined in File logger.h
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.
-