mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 21:10:01 -08:00
Updated colors and alignment
+ star is now gold with black outline + aligned for users who are not buddies
This commit is contained in:
parent
0aef6ecc94
commit
ccccc78f91
4 changed files with 171 additions and 4 deletions
|
|
@ -137,6 +137,8 @@ void ChatView::appendMessage(QString message, QString sender, UserLevelFlags use
|
|||
QMap<QString, UserListTWI *> buddyList = tabSupervisor->getUserListsTab()->getBuddyList()->getUsers();
|
||||
if (buddyList.contains(sender))
|
||||
cursor.insertImage(PixmapGenerator::generatePixmap(pixelSize, ":/resources/buddy_icon.svg").toImage());
|
||||
else
|
||||
cursor.insertImage(PixmapGenerator::generatePixmap(pixelSize, ":/resources/empty_icon.svg").toImage());
|
||||
}
|
||||
cursor.insertText(" ");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue