TermOx
Public Types | Public Member Functions | Public Attributes | List of all members
ox::Color Class Reference

Color numbers [0 - 180] are valid. More...

#include <color.hpp>

Public Types

enum  Name : Value_t {
  Background = 0 , Black = 0 , Dark_red = 1 , Green = 2 ,
  Brown = 3 , Dark_blue = 4 , Violet = 5 , Light_blue = 6 ,
  Light_gray = 7 , Dark_gray = 8 , Red = 9 , Light_green = 10 ,
  Yellow = 11 , Blue = 12 , Orange = 13 , Gray = 14 ,
  White = 15 , Foreground = 15
}
 
using Value_t = std::uint8_t
 

Public Member Functions

constexpr Color (Name n)
 
constexpr Color (Value_t v)
 

Public Attributes

Value_t value
 

Detailed Description

Color numbers [0 - 180] are valid.


The documentation for this class was generated from the following file: