NTB++
NTB++ is a cross-platform header-only utility library for C++ >= 17
|
Enumerations | |
enum | Colors : const UInt { RESET = 0 , BLACK = 30 , RED , GREEN , YELLOW , BLUE , MAGENTA , CYAN , WHITE } |
Functions | |
const String | col (const UInt color=Colors::RESET) |
auto | col (const String str, const UInt front, UInt back=Colors::RESET) |
enum Ntb::Colors::Colors : const UInt |
|
inline |
Color marker for foreground, background and text.
str | The input text. |
front | The foreground color code. |
back | The background color code. |
|
inline |
Color marker for foreground/background.
color | The color code. |