From 85bd253aef05867251259dd06f2fc5bcc72f0474 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 5 Aug 2019 18:21:00 -0400 Subject: Add dim and blink attributes --- stream.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'stream.h') diff --git a/stream.h b/stream.h index 0bb7507..8726381 100644 --- a/stream.h +++ b/stream.h @@ -21,8 +21,17 @@ typedef unsigned uint; +enum Attr { + Bold = 1 << 0, + Dim = 1 << 1, + Italic = 1 << 2, + Underline = 1 << 3, + Blink = 1 << 4, + Reverse = 1 << 5, +}; + struct Style { - bool bold, italic, underline, reverse; + enum Attr attr; int bg, fg; }; -- cgit 1.4.1