From b59a22bef03b7b7922687cb4f1e6acb8a2709218 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 6 Feb 2012 21:25:40 -0800 Subject: [PATCH] Colors --- screen.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/screen.h b/screen.h index 4623f64e1..3d6eb72db 100644 --- a/screen.h +++ b/screen.h @@ -19,7 +19,18 @@ struct line_entry_t wchar_t text; int color; }; + +class rgb_color_t { + unsigned char rgb[3]; + public: + rgb_color_t(unsigned char r, unsigned char g, unsigned char b) + { + rgb[0] = r; + rgb[1] = g; + rgb[2] = b; + } +}; /** A class representing a single line of a screen.