summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-09-28 20:09:25 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-09-28 20:09:25 +0000
commite93e064373c382b80ecb37919335fbfe424efeea (patch)
treec090ee89b74f1b92c58ec2641eeb9a9f80471ec7 /src/gui/chat.cpp
parentafaf7b68b8761268fdc54066e02cfe8df1d23dec (diff)
downloadmana-e93e064373c382b80ecb37919335fbfe424efeea.tar.gz
mana-e93e064373c382b80ecb37919335fbfe424efeea.tar.bz2
mana-e93e064373c382b80ecb37919335fbfe424efeea.tar.xz
mana-e93e064373c382b80ecb37919335fbfe424efeea.zip
Added window internal name to every window. Useful to later get and save X, Y, Height, and Width of these wins.
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index be06a14a..0b31c8d6 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -41,6 +41,7 @@
ChatWindow::ChatWindow(const std::string &logfile):
Window("")
{
+ setName("Chat");
chatlog_file.open(logfile.c_str(), std::ios::out | std::ios::app);
items = 0;
items_keep = 20;