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 styled strings. More...
#include <termstyle.hpp>
Public Attributes | |
std::string | text = "" |
std::vector< Color > | prestyles = {} |
std::vector< Color > | poststyles = {} |
std::vector< Codes > | prestyle16 = {} |
std::vector< Codes > | poststyle16 = {} |
std::vector< Col256 > | prestlye256 = {} |
std::vector< Col256 > | poststyle256 = {} |
Struct for storing styled strings.
std::vector<Codes> termstyle::StyleString::poststyle16 = {} |
A vector container that stores objects of type Codes, applied after text
.
prestyles
instead.std::vector<Col256> termstyle::StyleString::poststyle256 = {} |
A vector container that stores objects of type Col256, applied after text
.
prestyles
instead.std::vector<Color> termstyle::StyleString::poststyles = {} |
std::vector<Col256> termstyle::StyleString::prestlye256 = {} |
A vector container that stores objects of type Col256, applied before text
.
prestyles
instead.std::vector<Codes> termstyle::StyleString::prestyle16 = {} |
A vector container that stores objects of type Codes, applied before text
.
prestyles
instead.std::vector<Color> termstyle::StyleString::prestyles = {} |
A vector container that stores objects of type Color, applied before text
.
std::string termstyle::StyleString::text = "" |
The text to be styled.