#include <color.h>
Public Member Functions | |
FMT_CONSTEXPR | text_style (emphasis em=emphasis()) FMT_NOEXCEPT |
FMT_CONSTEXPR text_style & | operator|= (const text_style &rhs) |
FMT_CONSTEXPR text_style & | operator&= (const text_style &rhs) |
FMT_CONSTEXPR bool | has_foreground () const FMT_NOEXCEPT |
FMT_CONSTEXPR bool | has_background () const FMT_NOEXCEPT |
FMT_CONSTEXPR bool | has_emphasis () const FMT_NOEXCEPT |
FMT_CONSTEXPR internal::color_type | get_foreground () const FMT_NOEXCEPT |
FMT_CONSTEXPR internal::color_type | get_background () const FMT_NOEXCEPT |
FMT_CONSTEXPR emphasis | get_emphasis () const FMT_NOEXCEPT |
Private Member Functions | |
FMT_CONSTEXPR | text_style (bool is_foreground, internal::color_type text_color) FMT_NOEXCEPT |
Private Attributes | |
internal::color_type | foreground_color |
internal::color_type | background_color |
bool | set_foreground_color |
bool | set_background_color |
emphasis | ems |
Friends | |
FMT_CONSTEXPR text_style | operator| (text_style lhs, const text_style &rhs) |
FMT_CONSTEXPR text_style | operator& (text_style lhs, const text_style &rhs) |
FMT_CONSTEXPR_DECL text_style | fg (internal::color_type foreground) FMT_NOEXCEPT |
FMT_CONSTEXPR_DECL text_style | bg (internal::color_type background) FMT_NOEXCEPT |
|
inline |
|
inlineprivate |
|
inline |
Definition at line 341 of file color.h.
|
inline |
|
inline |
Definition at line 337 of file color.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Definition at line 381 of file color.h.
|
friend |
Definition at line 377 of file color.h.
|
friend |
|
friend |
|
private |
|
private |