![]() |
SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
|
A text style consisting of foreground and background colors and emphasis. More...
#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_DEPRECATED_NONMSVC 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 detail::color_type | get_foreground () const FMT_NOEXCEPT |
FMT_CONSTEXPR detail::color_type | get_background () const FMT_NOEXCEPT |
FMT_CONSTEXPR emphasis | get_emphasis () const FMT_NOEXCEPT |
Friends | |
FMT_CONSTEXPR text_style | operator| (text_style lhs, const text_style &rhs) |
FMT_DEPRECATED_NONMSVC friend FMT_CONSTEXPR text_style | operator & (text_style lhs, const text_style &rhs) |
FMT_CONSTEXPR_DECL text_style | fg (detail::color_type foreground) FMT_NOEXCEPT |
Creates a text style from the foreground (text) color. More... | |
FMT_CONSTEXPR_DECL text_style | bg (detail::color_type background) FMT_NOEXCEPT |
Creates a text style from the background color. More... | |
A text style consisting of foreground and background colors and emphasis.
|
friend |
Creates a text style from the background color.
|
friend |
Creates a text style from the foreground (text) color.