mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -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
|
|
@ -221,7 +221,7 @@ void TabRoom::processRoomSayEvent(const Event_RoomSay &event)
|
|||
if (settingsCache->getIgnoreUnregisteredUsers() && !userLevel.testFlag(ServerInfo_User::IsRegistered))
|
||||
return;
|
||||
}
|
||||
chatView->appendMessage(QString::fromStdString(event.message()), senderName, userLevel);
|
||||
chatView->appendMessage(QString::fromStdString(event.message()), senderName, userLevel, true);
|
||||
emit userEvent(false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue