From 4ecc89dcc6516b10c6dab8b79dcaa435ec9e1435 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 13 Jul 2005 22:44:23 +0000 Subject: * 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 --- src/gui/chat.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/gui/chat.cpp') 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") -- cgit v1.2.3-70-g09d2