mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Updated chatview texts
This is enforcing a new client wide color scheme. RULES + Green = Major server message (Welcome to chat room, change phase...) + Red = Minor server message (timestamps, game actions...) + Blue = Key word + Blue with modifier (underline/italics) = Keyword that can be interacted with. + Black = User text + key numbers are now blue. player drew X cards, looks at the top X cards, places X counters on . . . and so on. + card names are now italic (different from urls now) I did have the player names set to blue also, but it felt like too much. Player names in phase change are blue Updates + Updated username colors in phases to match other areas of client Small update + Made server message in chat room bold + made User names in chat/pm match the weight of in-game (consistancy)
This commit is contained in:
parent
98c92733ac
commit
e0839db648
4 changed files with 29 additions and 22 deletions
|
|
@ -106,7 +106,7 @@ void TabMessage::actLeave()
|
|||
void TabMessage::processUserMessageEvent(const Event_UserMessage &event)
|
||||
{
|
||||
const UserLevelFlags userLevel(event.sender_name() == otherUserInfo->name() ? otherUserInfo->user_level() : ownUserInfo->user_level());
|
||||
chatView->appendMessage(QString::fromStdString(event.message()), QString::fromStdString(event.sender_name()), userLevel);
|
||||
chatView->appendMessage(QString::fromStdString(event.message()), QString::fromStdString(event.sender_name()), userLevel, true);
|
||||
emit userEvent();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue