mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
IRCClient: Colorize some channel messages (joins, parts, topics)
This commit is contained in:
parent
794c81626e
commit
55aa819077
11 changed files with 60 additions and 23 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -23,6 +23,9 @@ public:
|
|||
DarkGray,
|
||||
MidGray,
|
||||
LightGray,
|
||||
DarkGreen,
|
||||
DarkBlue,
|
||||
DarkRed,
|
||||
};
|
||||
|
||||
Color() { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue