summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-08 10:07:28 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-08 10:07:28 -0600
commitca9f7c10711f7cf788eb9f2e05f3a3e0737eabbe (patch)
tree5925b89faf78c6d6a2a7cf6882bf91c18fe8c217
parent1d7e2d37aa9137e9c6212d5d8a4bffefdc2e0110 (diff)
downloadmana-client-ca9f7c10711f7cf788eb9f2e05f3a3e0737eabbe.tar.gz
mana-client-ca9f7c10711f7cf788eb9f2e05f3a3e0737eabbe.tar.bz2
mana-client-ca9f7c10711f7cf788eb9f2e05f3a3e0737eabbe.tar.xz
mana-client-ca9f7c10711f7cf788eb9f2e05f3a3e0737eabbe.zip
Remove the title area from ChatWindow
-rw-r--r--src/gui/chat.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index 479e45a6..2fae7b0d 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -74,6 +74,9 @@ ChatWindow::ChatWindow():
{
setWindowName("Chat");
+ // no title presented, title bar is padding so window can be moved.
+ gcn::Window::setTitleBarHeight(gcn::Window::getPadding());
+ setShowTitle(false);
setResizable(true);
setDefaultVisible(true);
setSaveVisible(true);