summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-22 04:36:26 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-22 04:36:26 +0300
commit3b22410e42be27ac30fc63f020243241d1eea737 (patch)
treef574a40a44bb8a33ff3226c784debd8fcda02330 /src/gui/windows/chatwindow.h
parent98ed087de210f5a5a0979b0d60b6d4b21b24ba4c (diff)
downloadmanaverse-3b22410e42be27ac30fc63f020243241d1eea737.tar.gz
manaverse-3b22410e42be27ac30fc63f020243241d1eea737.tar.bz2
manaverse-3b22410e42be27ac30fc63f020243241d1eea737.tar.xz
manaverse-3b22410e42be27ac30fc63f020243241d1eea737.zip
Remove default parameters from chatwindow.h
Diffstat (limited to 'src/gui/windows/chatwindow.h')
-rw-r--r--src/gui/windows/chatwindow.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h
index 7d02e0fd3..051d89288 100644
--- a/src/gui/windows/chatwindow.h
+++ b/src/gui/windows/chatwindow.h
@@ -145,7 +145,8 @@ class ChatWindow final : public Window,
void setInputText(const std::string &text);
/** Add the given text to the chat input. */
- void addInputText(const std::string &text, const bool space = true);
+ void addInputText(const std::string &text,
+ const bool space);
/** Called to add item to chat */
void addItemText(const std::string &item);
@@ -189,19 +190,19 @@ class ChatWindow final : public Window,
void addWhisper(const std::string &restrict nick,
const std::string &restrict mes,
- const ChatMsgTypeT own = ChatMsgType::BY_OTHER);
+ const ChatMsgTypeT own);
WhisperTab *addWhisperTab(const std::string &caption,
const std::string &nick,
- const bool switchTo = false) A_WARN_UNUSED;
+ const bool switchTo) A_WARN_UNUSED;
WhisperTab *getWhisperTab(const std::string &nick) const A_WARN_UNUSED;
ChatTab *addChannelTab(const std::string &name,
- const bool switchTo = false);
+ const bool switchTo);
ChatTab *addSpecialChannelTab(const std::string &name,
- const bool switchTo = false);
+ const bool switchTo);
ChatTab *addChatTab(const std::string &name,
const bool switchTo,
@@ -221,12 +222,9 @@ class ChatWindow final : public Window,
const TryRemoveColors tryRemoveColors);
static void battleChatLog(const std::string &line,
- ChatMsgTypeT own
- = ChatMsgType::BY_UNKNOWN,
- const IgnoreRecord ignoreRecord
- = IgnoreRecord_false,
- const TryRemoveColors tryRemoveColors
- = TryRemoveColors_true);
+ ChatMsgTypeT own,
+ const IgnoreRecord ignoreRecord,
+ const TryRemoveColors tryRemoveColors);
void channelChatLog(const std::string &channel,
const std::string &line,