diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-26 20:04:40 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-26 20:04:40 +0200 |
commit | adfacb195ba653b63fec08200d0535604d45e20e (patch) | |
tree | 0222d33fd3e26b9e87cda7fa00119ac44acc94d4 /src/gui/widgets/chattab.h | |
parent | d1be68b99867261dc9298f3441acc09028897d6f (diff) | |
download | manaverse-adfacb195ba653b63fec08200d0535604d45e20e.tar.gz manaverse-adfacb195ba653b63fec08200d0535604d45e20e.tar.bz2 manaverse-adfacb195ba653b63fec08200d0535604d45e20e.tar.xz manaverse-adfacb195ba653b63fec08200d0535604d45e20e.zip |
Add option to chat context menu to remove nicks.
Usefull for example for tmw guild bot.
Diffstat (limited to 'src/gui/widgets/chattab.h')
-rw-r--r-- | src/gui/widgets/chattab.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h index 52c122e65..998ad2e3d 100644 --- a/src/gui/widgets/chattab.h +++ b/src/gui/widgets/chattab.h @@ -147,6 +147,12 @@ class ChatTab : public Tab void setAllowHighlight(bool n) { mAllowHightlight = n; } + bool getRemoveNames() + { return mRemoveNames; } + + void setRemoveNames(bool n) + { mRemoveNames = n; } + protected: friend class ChatWindow; friend class WhisperWindow; @@ -166,6 +172,7 @@ class ChatTab : public Tab ScrollArea *mScrollArea; BrowserBox *mTextOutput; bool mAllowHightlight; + bool mRemoveNames; }; extern ChatTab *localChatTab; |