diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-18 20:56:45 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-18 20:56:45 +0100 |
commit | 55aa8190773721f1dc0a3f49bedea6ed8524b318 (patch) | |
tree | d3d7b893ca2d52bacd52fd7f4c8700eb299710e9 /SharedGraphics | |
parent | 794c81626e548311e31ff28871c3482a873ff566 (diff) | |
download | serenity-55aa8190773721f1dc0a3f49bedea6ed8524b318.zip |
IRCClient: Colorize some channel messages (joins, parts, topics)
Diffstat (limited to 'SharedGraphics')
-rw-r--r-- | SharedGraphics/Color.cpp | 3 | ||||
-rw-r--r-- | SharedGraphics/Color.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/SharedGraphics/Color.cpp b/SharedGraphics/Color.cpp index 5e4102d2f2..f93b48b458 100644 --- a/SharedGraphics/Color.cpp +++ b/SharedGraphics/Color.cpp @@ -20,6 +20,9 @@ Color::Color(NamedColor named) case DarkGray: rgb = { 64, 64, 64 }; break; case MidGray: rgb = { 127, 127, 127 }; break; case LightGray: rgb = { 192, 192, 192 }; break; + case DarkGreen: rgb = { 0, 128, 0 }; break; + case DarkBlue: rgb = { 0, 0, 128 }; break; + case DarkRed: rgb = { 128, 0, 0 }; break; default: ASSERT_NOT_REACHED(); break; } diff --git a/SharedGraphics/Color.h b/SharedGraphics/Color.h index 9e4dbb0321..f077c0da72 100644 --- a/SharedGraphics/Color.h +++ b/SharedGraphics/Color.h @@ -23,6 +23,9 @@ public: DarkGray, MidGray, LightGray, + DarkGreen, + DarkBlue, + DarkRed, }; Color() { } |