54 enum Colour {DEFAULT_COLOR=0, BLACK, GRAY, RED, GREEN, YELLOW, BLUE, PURPLE, CYAN, WHITE};
56 enum Style {NO_STYLE=0, ITALIC=1, BOLD=2, DIM=4, REVERSE=8};
58 enum Line {NO_LINE=0, UNDERLINE=1, DOUBLE_UNDERLINE=2, OVERLINE=4};
65 std::set<Style> style;
70 template <
typename ... T>
72 void set(
const T &... args) {
78 template <
typename T,
typename ... TT>
80 void add(
const T & arg,
const TT &... args) {
89 colour = Colour::DEFAULT_COLOR;
102 void _add(
const Colour & c){
107 void _add(
const Line & l){
112 void _add(
const Style & s){
Utility for scanning text segments.
Definition TextStyle.h:50