mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 01:24:46 -07:00
Other mentions -- DRAFT --
Mentions about other players currently in the room will be highlighted. They are also clickable for mentions and right clickable for context options.
This commit is contained in:
parent
0daa7a8809
commit
0334fe3c8f
2 changed files with 37 additions and 10 deletions
|
|
@ -6,11 +6,11 @@
|
|||
#include <QTextCursor>
|
||||
#include <QColor>
|
||||
#include "user_level.h"
|
||||
#include "tab_supervisor.h"
|
||||
|
||||
class QTextTable;
|
||||
class QMouseEvent;
|
||||
class UserContextMenu;
|
||||
class TabSupervisor;
|
||||
class TabGame;
|
||||
|
||||
class ChatView : public QTextBrowser {
|
||||
|
|
@ -25,6 +25,7 @@ private:
|
|||
QString userName;
|
||||
QString mention;
|
||||
QTextCharFormat mentionFormat;
|
||||
QTextCharFormat mentionFormatOtherUser;
|
||||
QTextCharFormat defaultFormat;
|
||||
bool evenNumber;
|
||||
bool showTimestamps;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue