Iros
 
Loading...
Searching...
No Matches
style.h File Reference

Go to the source code of this file.

Classes

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

Namespaces

namespace  di
 
namespace  di::format
 
namespace  di::format::style
 

Typedefs

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

Enumerations

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

Functions

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