#include <color.h>
Public Member Functions | |
FMT_CONSTEXPR auto | get_background () const noexcept -> detail::color_type |
FMT_CONSTEXPR auto | get_emphasis () const noexcept -> emphasis |
FMT_CONSTEXPR auto | get_foreground () const noexcept -> detail::color_type |
FMT_CONSTEXPR auto | has_background () const noexcept -> bool |
FMT_CONSTEXPR auto | has_emphasis () const noexcept -> bool |
FMT_CONSTEXPR auto | has_foreground () const noexcept -> bool |
FMT_CONSTEXPR auto | operator|= (const text_style &rhs) -> text_style & |
FMT_CONSTEXPR | text_style (emphasis em=emphasis()) noexcept |
Private Member Functions | |
FMT_CONSTEXPR | text_style (bool is_foreground, detail::color_type text_color) 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 auto | bg (detail::color_type background) noexcept -> text_style |
FMT_CONSTEXPR auto | fg (detail::color_type foreground) noexcept -> text_style |
FMT_CONSTEXPR auto | operator| (text_style lhs, const text_style &rhs) -> text_style |
A text style consisting of foreground and background colors and emphasis.
|
inlinenoexcept |
|
inlineprivatenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
friend |
|
friend |
|
friend |
|
private |
|
private |