summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-13 22:44:23 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-13 22:44:23 +0000
commit4ecc89dcc6516b10c6dab8b79dcaa435ec9e1435 (patch)
treeaf49a9d05531e9cf9c87b6ad543338c2d68de4ee /src/gui/chat.cpp
parent1ae9c54d120338e4165d168c72ef16eb7f76ac18 (diff)
downloadmana-client-4ecc89dcc6516b10c6dab8b79dcaa435ec9e1435.tar.gz
mana-client-4ecc89dcc6516b10c6dab8b79dcaa435ec9e1435.tar.bz2
mana-client-4ecc89dcc6516b10c6dab8b79dcaa435ec9e1435.tar.xz
mana-client-4ecc89dcc6516b10c6dab8b79dcaa435ec9e1435.zip
* Committing some cleanups by Doener
* Fixed some compiler warnings * Restored a USE_OPENGL check around OpenGL headers * Fixed error about FALSE not being defined * Fixed issue with font to become speechFont when the latter is not installed
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r--src/gui/chat.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp
index ce5593f9..1a7eca65 100644
--- a/src/gui/chat.cpp
+++ b/src/gui/chat.cpp
@@ -53,7 +53,7 @@ ChatWindow::ChatWindow(const std::string &logfile):
scrollArea->getBorderSize(), scrollArea->getBorderSize());
scrollArea->setScrollPolicy(
gcn::ScrollArea::SHOW_NEVER, gcn::ScrollArea::SHOW_ALWAYS);
- //scrollArea->setOpaque(false);
+ scrollArea->setOpaque(false);
add(scrollArea);
add(chatInput);
@@ -151,12 +151,6 @@ void ChatWindow::chat_log(CHATSKILL action)
chat_log(const_msg(action), BY_SERVER);
}
-void ChatWindow::draw(gcn::Graphics *graphics)
-{
- // Draw the window border/background and children
- Window::draw(graphics);
-}
-
void ChatWindow::action(const std::string& eventId)
{
if (eventId == "chatinput")