38 ChatTab(
const std::string &name);
49 bool ignoreRecord =
false);
56 void chatLog(
const std::string &nick,
const std::string &msg);
95 const std::string &args)
A simple browser box able to handle links and forward events to the parent conteiner.
A tab for the chat window.
void chatLog(std::string line, Own own=BY_SERVER, bool ignoreRecord=false)
Adds a line of text to our message list.
virtual void handleInput(const std::string &msg)
virtual bool handleCommand(const std::string &type, const std::string &args)
Handle special commands.
virtual void showHelp()
Add any extra help text to the output.
friend class WhisperWindow
void updateTextFormat(int alpha)
Adapts the text format to the current gui opacity, for better readability.
virtual void saveToLogFile(std::string &msg)
void scroll(int amount)
Scrolls the chat window.
void setCurrent() override
void getAutoCompleteList(std::vector< std::string > &names) const override
void event(Event::Channel channel, const Event &event) override
void chatInput(const std::string &msg)
Determines whether the message is a command or message, then sends the given message to the game serv...
void clearText()
Clears the text from the tab.
virtual bool checkNotify(Own own) const
Returns whether a notify sound may be played for the given type of message.
A tab, the same as the Guichan tab in 0.8, but extended to allow transparency.
void setFlash(bool flash)
Set tab flashing state.