#include <color.h>
Public Member Functions | |
FMT_CONSTEXPR | ansi_color_escape (internal::color_type text_color, const char *esc) FMT_NOEXCEPT |
FMT_CONSTEXPR | ansi_color_escape (emphasis em) FMT_NOEXCEPT |
FMT_CONSTEXPR | operator const Char * () const FMT_NOEXCEPT |
FMT_CONSTEXPR const Char * | begin () const FMT_NOEXCEPT |
FMT_CONSTEXPR const Char * | end () const FMT_NOEXCEPT |
Static Private Member Functions | |
static FMT_CONSTEXPR void | to_esc (uint8_t c, Char *out, char delimiter) FMT_NOEXCEPT |
Private Attributes | |
Char | buffer [7u+3u *4u+1u] |
FMT_CONSTEXPR ansi_color_escape | ( | internal::color_type | text_color, |
const char * | esc | ||
) |
Definition at line 356 of file color.h.
References rgb::b, basic_data<>::background_color, rgb::g, internal::index, rgb::r, and value< Context >::value().
Definition at line 392 of file color.h.
References bold, internal::index, italic, strikethrough, and underline.
FMT_CONSTEXPR const Char* begin | ( | ) | const |
FMT_CONSTEXPR const Char* end | ( | ) | const |
FMT_CONSTEXPR operator const Char * | ( | ) | const |
|
staticprivate |