summaryrefslogtreecommitdiff
path: root/src/gui/setup_chat.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 01:18:21 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 01:18:21 +0300
commitb0ce837b66ddc34a9b2a9346291b252f748c577f (patch)
tree6bcd1c475d48e2cb12972556a1f62eaf9c392048 /src/gui/setup_chat.cpp
parentf474ad785704a904fd2b95d56fa67cccf69c876f (diff)
downloadmanaplus-b0ce837b66ddc34a9b2a9346291b252f748c577f.tar.gz
manaplus-b0ce837b66ddc34a9b2a9346291b252f748c577f.tar.bz2
manaplus-b0ce837b66ddc34a9b2a9346291b252f748c577f.tar.xz
manaplus-b0ce837b66ddc34a9b2a9346291b252f748c577f.zip
Add option to auto hide chat window (chat window visible by default)
Option in chat \ Auto hide chat window.
Diffstat (limited to 'src/gui/setup_chat.cpp')
-rw-r--r--src/gui/setup_chat.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/setup_chat.cpp b/src/gui/setup_chat.cpp
index 4bfb8928e..9cd164839 100644
--- a/src/gui/setup_chat.cpp
+++ b/src/gui/setup_chat.cpp
@@ -51,6 +51,12 @@ Setup_Chat::Setup_Chat()
ContainerPlacer place = h.getPlacer(0, 0);
place(0, 0, mScroll, 10, 10);
+ new SetupItemLabel(_("Window"), "", this);
+
+ new SetupItemCheckBox(_("Auto hide chat window."), "",
+ "autohideChat", this, "autohideChatEvent");
+
+
new SetupItemLabel(_("Colors"), "", this);
new SetupItemCheckBox(_("Remove colors from received chat messages"), "",