#include <color.h>
Public Member Functions | |
FMT_CONSTEXPR detail::color_type | get_background () const FMT_NOEXCEPT |
FMT_CONSTEXPR emphasis | get_emphasis () const FMT_NOEXCEPT |
FMT_CONSTEXPR detail::color_type | get_foreground () const FMT_NOEXCEPT |
FMT_CONSTEXPR bool | has_background () const FMT_NOEXCEPT |
FMT_CONSTEXPR bool | has_emphasis () const FMT_NOEXCEPT |
FMT_CONSTEXPR bool | has_foreground () const FMT_NOEXCEPT |
FMT_DEPRECATED_NONMSVC FMT_CONSTEXPR text_style & | operator &= (const text_style &rhs) |
FMT_CONSTEXPR text_style & | operator|= (const text_style &rhs) |
FMT_CONSTEXPR | text_style (emphasis em=emphasis()) FMT_NOEXCEPT |
Private Member Functions | |
FMT_CONSTEXPR text_style & | and_assign (const text_style &rhs) |
FMT_CONSTEXPR | text_style (bool is_foreground, detail::color_type text_color) FMT_NOEXCEPT |
Private Attributes | |
detail::color_type | background_color |
emphasis | ems |
detail::color_type | foreground_color |
bool | set_background_color |
bool | set_foreground_color |
Friends | |
FMT_CONSTEXPR_DECL text_style | bg (detail::color_type background) FMT_NOEXCEPT |
FMT_CONSTEXPR_DECL text_style | fg (detail::color_type foreground) FMT_NOEXCEPT |
FMT_DEPRECATED_NONMSVC friend FMT_CONSTEXPR text_style | operator & (text_style lhs, const text_style &rhs) |
FMT_CONSTEXPR text_style | operator| (text_style lhs, const text_style &rhs) |
A text style consisting of foreground and background colors and emphasis.
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |