From 83f7d9ff9f83cca80b5f72564ee3496e8a30cce3 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 30 Dec 2005 16:50:12 +0000 Subject: Applied pcloud's patch that enhances chat window functionality while hidden. --- src/gui/chat.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/gui/chat.h') diff --git a/src/gui/chat.h b/src/gui/chat.h index e648eda5..a4547d86 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -185,11 +185,16 @@ class ChatWindow : public Window, public gcn::ActionListener, /** Called to set current text */ void setInputText(std::string input_str); + /** Override to reset mTmpVisible */ + void setVisible(bool visible); + private: std::ofstream chatlog_file; + bool mTmpVisible; /** One item in the chat log */ - typedef struct CHATLOG { + typedef struct CHATLOG + { std::string nick; std::string text; int own; -- cgit v1.2.3-70-g09d2