di 0.1.0
Loading...
Searching...
No Matches
style.h File Reference

Go to the source code of this file.

Classes

class  di::fmt::style::BackgroundColor
class  di::fmt::style::Style
class  di::fmt::style::Styled< T >
class  di::fmt::BackgroundColor
class  di::fmt::Style
class  di::fmt::Styled< T >
class  di::Styled< T >

Namespaces

namespace  di
namespace  di::fmt
namespace  di::fmt::style

Typedefs

using di::FormatColor = fmt::Color
using di::FormatBackgroundColor = fmt::BackgroundColor
using di::FormatEffect = fmt::Effect

Enumerations

enum class  di::fmt::style::Color {
  di::fmt::style::Black = 0 , di::fmt::style::Red = 1 , di::fmt::style::Green = 2 , di::fmt::style::Yellow = 3 ,
  di::fmt::style::Blue = 4 , di::fmt::style::Magenta = 5 , di::fmt::style::Cyan = 6 , di::fmt::style::White = 7 ,
  di::fmt::style::Default = 9
}
 Represent a ANSI terminal color. More...
enum class  di::fmt::style::Effect {
  di::fmt::style::None = 0 , di::fmt::style::Bold = 1 , di::fmt::style::Faint = 2 , di::fmt::style::Italic = 3 ,
  di::fmt::style::Underline = 4 , di::fmt::style::Blink = 5 , di::fmt::style::Inverted = 7 , di::fmt::style::StrikeThrough = 9 ,
  di::fmt::style::DoubleUnderline = 21
}
enum class  di::fmt::Color
 Represent a ANSI terminal color. More...
enum class  di::fmt::Effect

Functions

constexpr auto di::fmt::style::operator| (Color color, BackgroundColor background)
constexpr auto di::fmt::style::operator| (BackgroundColor background, Color color)
constexpr auto di::fmt::style::operator| (Color color, Effect effect)
constexpr auto di::fmt::style::operator| (Effect effect, Color color)
constexpr auto di::fmt::style::operator| (BackgroundColor background, Effect effect)
constexpr auto di::fmt::style::operator| (Effect effect, BackgroundColor background)
constexpr auto di::fmt::style::operator| (Style style, Color color)
constexpr auto di::fmt::style::operator| (Color color, Style style)
constexpr auto di::fmt::style::operator| (Style style, BackgroundColor background)
constexpr auto di::fmt::style::operator| (BackgroundColor background, Style style)
constexpr auto di::fmt::style::operator| (Style style, Effect effect)
constexpr auto di::fmt::style::operator| (Effect effect, Style style)
template<typename T>
 di::fmt::style::Styled (T &&, Style) -> Styled< T && >