53 enum Colour {DEFAULT_COLOR=0, BLACK, GRAY, RED, GREEN, YELLOW, BLUE, PURPLE, CYAN, WHITE};
55 enum Style {NO_STYLE=0, ITALIC=1, BOLD=2, DIM=4, REVERSE=8};
57 enum Line {NO_LINE=0, UNDERLINE=1, DOUBLE_UNDERLINE=2, OVERLINE=4};
64 std::set<Style> style;
69 template <
typename ... T>
71 void set(
const T &... args) {
77 template <
typename T,
typename ... TT>
79 void add(
const T & arg,
const TT &... args) {
88 colour = Colour::DEFAULT_COLOR;
101 void _add(
const Colour & c){
106 void _add(
const Line & l){
111 void _add(
const Style & s){
Utility for scanning text segments.
Definition TextStyle.h:49