termstyle 1.0.0-pre.3
An open-source C++ header file that enables developers to easily define and apply customizable style presets for terminal outputs such as warnings, infos, and errors.
|
Struct for storing different types of colors. More...
#include <termstyle.hpp>
Public Member Functions | |
Color (Codes col16) | |
Constructs a Color object with the specified 16-color code. | |
Color (Col256 col256) | |
Constructs a Color object with the specified 256-color code. | |
Color (ColRGB colrgb) | |
Constructs a Color object with the specified RGB color. | |
Public Attributes | ||
ColorType | type | |
union { | ||
Codes col16 | ||
Col256 col256 | ||
ColRGB colrgb | ||
}; | ||
Struct for storing different types of colors.