|
STIR
6.3.0
|
A text style consisting of foreground and background colors and emphasis. More...
#include "/home/sirfuser/devel/STIRdistrib/STIR/external_helpers/fmt/include/fmt/color.h"
Public Member Functions | |
| FMT_CONSTEXPR | text_style (emphasis em=emphasis()) noexcept |
| FMT_CONSTEXPR auto | operator|= (text_style rhs) -> text_style & |
| FMT_CONSTEXPR auto | operator== (text_style rhs) const noexcept -> bool |
| FMT_CONSTEXPR auto | operator!= (text_style rhs) const noexcept -> bool |
| FMT_CONSTEXPR auto | has_foreground () const noexcept -> bool |
| FMT_CONSTEXPR auto | has_background () const noexcept -> bool |
| FMT_CONSTEXPR auto | has_emphasis () const noexcept -> bool |
| FMT_CONSTEXPR auto | get_foreground () const noexcept -> detail::color_type |
| FMT_CONSTEXPR auto | get_background () const noexcept -> detail::color_type |
| FMT_CONSTEXPR auto | get_emphasis () const noexcept -> emphasis |
Friends | |
| FMT_CONSTEXPR auto | operator| (text_style lhs, text_style rhs) -> text_style |
| FMT_CONSTEXPR auto | fg (detail::color_type foreground) noexcept -> text_style |
| Creates a text style from the foreground (text) color. | |
| FMT_CONSTEXPR auto | bg (detail::color_type background) noexcept -> text_style |
| Creates a text style from the background color. | |
A text style consisting of foreground and background colors and emphasis.
1.8.13