summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-12-03 21:05:17 +0300
committerAndrei Karas <akaras@inbox.ru>2011-12-03 21:05:17 +0300
commit284458d6c7644159eb14479e9f41127fd400ffdb (patch)
tree802e190c77a337a7645e1b6d01f66dcbbf8ef2e5 /src/gui/chatwindow.h
parent5acadea119fc2a89e944dc9431e298e5e9544770 (diff)
downloadmanaplus-284458d6c7644159eb14479e9f41127fd400ffdb.tar.gz
manaplus-284458d6c7644159eb14479e9f41127fd400ffdb.tar.bz2
manaplus-284458d6c7644159eb14479e9f41127fd400ffdb.tar.xz
manaplus-284458d6c7644159eb14479e9f41127fd400ffdb.zip
Allow copy any line from chat log to clipboard by
context menu item "Copy to clipboard".
Diffstat (limited to 'src/gui/chatwindow.h')
-rw-r--r--src/gui/chatwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/chatwindow.h b/src/gui/chatwindow.h
index ad5229ffe..9d63ca402 100644
--- a/src/gui/chatwindow.h
+++ b/src/gui/chatwindow.h
@@ -258,6 +258,8 @@ class ChatWindow : public Window,
bool findHighlight(std::string &str);
+ void copyToClipboard(int x, int y);
+
protected:
friend class ChatTab;
friend class WhisperTab;