summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-26 20:04:40 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-26 20:04:40 +0200
commitadfacb195ba653b63fec08200d0535604d45e20e (patch)
tree0222d33fd3e26b9e87cda7fa00119ac44acc94d4 /src/gui/widgets/chattab.h
parentd1be68b99867261dc9298f3441acc09028897d6f (diff)
downloadmanaverse-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.h7
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;