24 #ifndef GUI_WINDOWS_CHATWINDOW_H
25 #define GUI_WINDOWS_CHATWINDOW_H
175 void scroll(
const int amount)
const;
197 const std::string &nick,
203 const bool switchTo);
206 const bool switchTo);
221 const std::string &channel,
231 const std::string &line,
236 void updateOnline(
const std::set<std::string> &onlinePlayers)
const;
242 static bool saveTab(
const int num,
295 const int64_t oldVal,
334 static std::string
autoComplete(
const std::string &partName,
338 std::string partName);
364 typedef std::map<const std::string, WhisperTab*>
TabMap;
Attributes ::T AttributesT
ChatMsgType ::T ChatMsgTypeT
ChatTabType ::T ChatTabTypeT
virtual void logicChildren()
void addWhisper(const std::string &nick, const std::string &mes, const ChatMsgTypeT own)
WhisperTab * addWhisperTab(const std::string &caption, const std::string &nick, const bool switchTo)
void channelChatLog(const std::string &channel, const std::string &line, ChatMsgTypeT own, const IgnoreRecord ignoreRecord, const TryRemoveColors tryRemoveColors)
unsigned int mRainbowColor
void scroll(const int amount) const
ChatTab * addChannelTab(const std::string &name, const bool switchTo)
std::list< std::string > History
void chatInput(const std::string &msg) const
void optionChanged(const std::string &name)
void mousePressed(MouseEvent &event)
void parseGlobalsFilter()
unsigned int mChatHistoryIndex
std::string autoCompleteHistory(const std::string &partName) const
void addItemText(const std::string &item)
bool addCurrentToHistory()
bool resortChatLog(std::string line, ChatMsgTypeT own, const std::string &channel, const IgnoreRecord ignoreRecord, const TryRemoveColors tryRemoveColors)
void addTab(ChatTab *const tab)
void joinRoom(const bool isJoin)
bool isInputFocused() const
void setRecordingFile(const std::string &msg)
WhisperTab * getWhisperTab(const std::string &nick) const
void removeWhisper(const std::string &nick)
ColorListModel * mColorListModel
void setInputText(const std::string &text)
static bool saveTab(const int num, const ChatTab *const tab)
void draw(Graphics *const graphics)
void safeDraw(Graphics *const graphics)
bool getReturnTogglesChat() const
void updateOnline(const std::set< std::string > &onlinePlayers) const
void localChatInput(const std::string &msg) const
History::iterator HistoryIterator
void mouseMoved(MouseEvent &event)
StringVect mGlobalsFilter
ItemLinkHandler * mItemLinkHandler
void keyPressed(KeyEvent &event)
void removeTab(ChatTab *const tab)
std::map< const std::string, WhisperTab * > TabMap
void displayAwayLog() const
static std::string doReplace(const std::string &msg)
void loadCommandsFile(const std::string &name)
bool isTabPresent(const ChatTab *const tab) const
bool findHighlight(const std::string &str)
ChatCommands::iterator ChatCommandsIterator
ChatWindow(const std::string &name)
void setVisible(Visible visible)
std::list< std::string > mAwayLog
void copyToClipboard(const int x, const int y) const
void addGlobalMessage(const std::string &line)
void debugMessage(const std::string &msg)
void addToAwayLog(const std::string &line)
ChatTab * addSpecialChannelTab(const std::string &name, const bool switchTo)
void widgetResized(const Event &event)
static void battleChatLog(const std::string &line, ChatMsgTypeT own, const IgnoreRecord ignoreRecord, const TryRemoveColors tryRemoveColors)
void mouseEntered(MouseEvent &event)
std::list< std::string > ChatCommands
void setReturnTogglesChat(const bool toggles)
std::map< const std::string, ChannelTab * > ChannelMap
void mouseExited(MouseEvent &event)
void action(const ActionEvent &event)
void mouseDragged(MouseEvent &event)
void attributeChanged(const AttributesT id, const int64_t oldVal, const int64_t newVal)
void addInputText(const std::string &text, const bool space)
std::string addColors(std::string &msg)
ChatTab * getFocused() const
void removeChannel(const std::string &nick)
ChatTab * addChatTab(const std::string &name, const bool switchTo, const bool join)
void selectTabByType(const ChatTabTypeT &type)
#define A_DELETE_COPY(func)
bool msg(InputEvent &event)
std::vector< std::string > StringVect