diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-22 03:07:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-22 03:07:13 +0300 |
commit | dddfb405de9d04f50d3a95cc3b0ebc3e49884a65 (patch) | |
tree | 4bb96a90cb585a65025533e512e7c3de7cffed00 /src/gui/chatwindow.h | |
parent | 07c2eb8ffd62fe69f410cc045efc837441a6b6d4 (diff) | |
download | manaplus-dddfb405de9d04f50d3a95cc3b0ebc3e49884a65.tar.gz manaplus-dddfb405de9d04f50d3a95cc3b0ebc3e49884a65.tar.bz2 manaplus-dddfb405de9d04f50d3a95cc3b0ebc3e49884a65.tar.xz manaplus-dddfb405de9d04f50d3a95cc3b0ebc3e49884a65.zip |
Add highlight list option.
Before in highlight was only player nick.
Diffstat (limited to 'src/gui/chatwindow.h')
-rw-r--r-- | src/gui/chatwindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/chatwindow.h b/src/gui/chatwindow.h index b6a37ef79..6e1d548a3 100644 --- a/src/gui/chatwindow.h +++ b/src/gui/chatwindow.h @@ -260,6 +260,10 @@ class ChatWindow : public Window, void clearAwayLog() { mAwayLog.clear(); } + void parseHighlights(); + + bool findHighlight(std::string &str); + protected: friend class ChatTab; friend class WhisperTab; @@ -329,6 +333,7 @@ class ChatWindow : public Window, int mChatColor; unsigned int mChatHistoryIndex; std::list<std::string> mAwayLog; + std::vector<std::string> mHighlights; }; extern ChatWindow *chatWindow; |