WPILibC++ 2024.3.2
|
A text style consisting of foreground and background colors and emphasis. More...
#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/color.h>
Public Member Functions | |
FMT_CONSTEXPR | text_style (emphasis em=emphasis()) noexcept |
FMT_CONSTEXPR text_style & | operator|= (const text_style &rhs) |
FMT_CONSTEXPR bool | has_foreground () const noexcept |
FMT_CONSTEXPR bool | has_background () const noexcept |
FMT_CONSTEXPR bool | has_emphasis () const noexcept |
FMT_CONSTEXPR detail::color_type | get_foreground () const noexcept |
FMT_CONSTEXPR detail::color_type | get_background () const noexcept |
FMT_CONSTEXPR emphasis | get_emphasis () const noexcept |
Friends | |
FMT_CONSTEXPR text_style | operator| (text_style lhs, const text_style &rhs) |
FMT_CONSTEXPR text_style | fg (detail::color_type foreground) noexcept |
Creates a text style from the foreground (text) color. More... | |
FMT_CONSTEXPR text_style | bg (detail::color_type background) noexcept |
Creates a text style from the background color. More... | |
A text style consisting of foreground and background colors and emphasis.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
friend |
Creates a text style from the background color.
|
friend |
Creates a text style from the foreground (text) color.
|
friend |