diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-12-03 21:05:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-12-03 21:05:17 +0300 |
commit | 284458d6c7644159eb14479e9f41127fd400ffdb (patch) | |
tree | 802e190c77a337a7645e1b6d01f66dcbbf8ef2e5 /src/gui/widgets/browserbox.h | |
parent | 5acadea119fc2a89e944dc9431e298e5e9544770 (diff) | |
download | manaverse-284458d6c7644159eb14479e9f41127fd400ffdb.tar.gz manaverse-284458d6c7644159eb14479e9f41127fd400ffdb.tar.bz2 manaverse-284458d6c7644159eb14479e9f41127fd400ffdb.tar.xz manaverse-284458d6c7644159eb14479e9f41127fd400ffdb.zip |
Allow copy any line from chat log to clipboard by
context menu item "Copy to clipboard".
Diffstat (limited to 'src/gui/widgets/browserbox.h')
-rw-r--r-- | src/gui/widgets/browserbox.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h index 06609b318..e26ae32e0 100644 --- a/src/gui/widgets/browserbox.h +++ b/src/gui/widgets/browserbox.h @@ -137,6 +137,7 @@ class BrowserBox : public gcn::Widget, * Handles mouse actions. */ void mousePressed(gcn::MouseEvent &event); + void mouseMoved(gcn::MouseEvent &event); /** @@ -198,6 +199,8 @@ class BrowserBox : public gcn::Widget, void setEnableImages(bool n) { mEnableImages = n; } + std::string getTextAtPos(const int x, const int y); + private: int calcHeight(); |