summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-12-30 16:50:12 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-12-30 16:50:12 +0000
commit83f7d9ff9f83cca80b5f72564ee3496e8a30cce3 (patch)
tree95ba60d15ca46c9c5bb1696fbb45dc900070521a /src/gui/chat.h
parentea653b2e9e1b46a07440833f96b3d2b788592c61 (diff)
downloadmana-83f7d9ff9f83cca80b5f72564ee3496e8a30cce3.tar.gz
mana-83f7d9ff9f83cca80b5f72564ee3496e8a30cce3.tar.bz2
mana-83f7d9ff9f83cca80b5f72564ee3496e8a30cce3.tar.xz
mana-83f7d9ff9f83cca80b5f72564ee3496e8a30cce3.zip
Applied pcloud's patch that enhances chat window functionality while hidden.
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h7
1 files changed, 6 insertions, 1 deletions
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;