24 #ifndef GUI_WIDGETS_TABS_CHAT_CHATTAB_H
25 #define GUI_WIDGETS_TABS_CHAT_CHATTAB_H
42 #define debugMsg(str) \
45 debugChatTab->chatLog(str, \
46 ChatMsgType::BY_SERVER, \
48 TryRemoveColors_true); \
51 #define setTabColors(name) \
52 setTabColor(&getThemeColor(name, 255U), \
53 &getThemeColor(name##_OUTLINE, 255U)); \
54 setHighlightedTabColor(&getThemeColor(name##_HIGHLIGHTED, 255U), \
55 &getThemeColor(name##_HIGHLIGHTED_OUTLINE, 255U)); \
56 setSelectedTabColor(&getThemeColor(name##_SELECTED, 255U), \
57 &getThemeColor(name##_SELECTED_OUTLINE, 255U))
69 const std::string &name,
70 const std::string &channel,
71 const std::string &logName,
96 void chatLog(
const std::string &nick, std::string
msg);
114 void scroll(
const int amount);
140 const std::string &args);
205 void addRow(std::string &line);
ChatMsgType ::T ChatMsgTypeT
ChatTabType ::T ChatTabTypeT
void setRemoveNames(const bool n)
virtual void getAutoCompleteList(StringVect &names) const
bool getRemoveNames() const
ChatTab(const Widget2 *const widget, const std::string &name, const std::string &channel, const std::string &logName, const ChatTabTypeT &type)
void saveToLogFile(const std::string &msg) const
virtual void handleInput(const std::string &msg)
virtual bool handleCommand(const std::string &type, const std::string &args)
ChatTabTypeT getType() const
void setAllowHighlight(const bool n)
virtual void getAutoCompleteCommands(StringVect &names) const
virtual void handleHelp(const std::string &msg)
void addRow(std::string &line)
bool getAllowHighlight() const
void addNewRow(std::string &line)
void setNoAway(const bool n)
friend class WhisperWindow
const std::list< std::string > & getRows() const
virtual bool handleCommands(const std::string &type, const std::string &args)
void scroll(const int amount)
void chatLog(std::string line, ChatMsgTypeT own, const IgnoreRecord ignoreRecord, const TryRemoveColors tryRemoveColors)
void chatInput(const std::string &msg)
void showOnline(const std::string &nick, const Online online)
virtual void handleCommandStr(const std::string &msg)
void loadFromLogFile(const std::string &name)
virtual void playNewMessageSound() const
const std::string & getChannelName() const
void setFlash(const int flash)
#define A_DELETE_COPY(func)
bool msg(InputEvent &event)
std::vector< std::string > StringVect