summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-07-04 17:02:03 +0000
committerDavid Athay <ko2fan@gmail.com>2008-07-04 17:02:03 +0000
commit6423c8eda76babaa50c13525b0deb7df5f2d24bd (patch)
tree6a44f0fde271ad739a5d2f1521b86445bd99d0e8 /src/gui/chat.h
parentd22c6843a9b9f06a0f9e05bed268bfab90b75031 (diff)
downloadmana-client-6423c8eda76babaa50c13525b0deb7df5f2d24bd.tar.gz
mana-client-6423c8eda76babaa50c13525b0deb7df5f2d24bd.tar.bz2
mana-client-6423c8eda76babaa50c13525b0deb7df5f2d24bd.tar.xz
mana-client-6423c8eda76babaa50c13525b0deb7df5f2d24bd.zip
Ugly hack for chat scrolling.
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index a999f8fc..e0e61ce5 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -75,12 +75,12 @@ class ChatWindow : public Window,
* the tabbed area.
*/
void widgetResized(const gcn::Event &event);
-
+
/**
* Gets the focused tab's name
*/
const std::string& getFocused() const;
-
+
/**
* Clear the tab with the given name
*/
@@ -93,8 +93,8 @@ class ChatWindow : public Window,
* @param own Type of message (usually the owner-type).
* @param channelName which channel to send the message to.
*/
- void chatLog(std::string line,
- int own = BY_SERVER,
+ void chatLog(std::string line,
+ int own = BY_SERVER,
std::string channelName = "getFocused\"");
/**
@@ -116,7 +116,7 @@ class ChatWindow : public Window,
* Determines whether the message is a command or message, then
* sends the given message to the game server to be said, or to the
* command handler
- *
+ *
* @param msg The message text which is to be sent.
*
*/
@@ -156,6 +156,8 @@ class ChatWindow : public Window,
bool
tabExists(const std::string &tabName);
+ void logic();
+
private:
bool mTmpVisible;