summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-18 21:33:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-18 21:33:21 +0300
commit25907c03212110f10c910b0ef90a416dff450ca7 (patch)
treefa409f004887619041e19f06f289d5ecb1c89e59 /src/gui/widgets/chattab.h
parent772daf48072915d598014c25a33ff3dc96e43bce (diff)
downloadmv-25907c03212110f10c910b0ef90a416dff450ca7.tar.gz
mv-25907c03212110f10c910b0ef90a416dff450ca7.tar.bz2
mv-25907c03212110f10c910b0ef90a416dff450ca7.tar.xz
mv-25907c03212110f10c910b0ef90a416dff450ca7.zip
Add option to show/hide guild online messages.
Disabled by default.
Diffstat (limited to 'src/gui/widgets/chattab.h')
-rw-r--r--src/gui/widgets/chattab.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h
index ae4ac3f01..0b3469458 100644
--- a/src/gui/widgets/chattab.h
+++ b/src/gui/widgets/chattab.h
@@ -165,6 +165,9 @@ class ChatTab : public Tab
void addNewRow(std::string &line);
+ void showOnline(const std::string &nick,
+ const bool isOnline);
+
virtual void playNewMessageSound();
protected:
@@ -190,6 +193,7 @@ class ChatTab : public Tab
bool mAllowHightlight;
bool mRemoveNames;
bool mNoAway;
+ bool mShowOnline;
};
extern ChatTab *localChatTab;