diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-03 15:32:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-03 20:13:09 +0300 |
commit | 4cd59b0f9f30b7104197fa96851b616fb9981caa (patch) | |
tree | 60f976e0dc4ba9cf50359a0f1a2c1b4233b081ad /src/gui/viewport.cpp | |
parent | 5f4ac032fbf4f7b76a43da11bb1d40b94820a247 (diff) | |
download | manaverse-4cd59b0f9f30b7104197fa96851b616fb9981caa.tar.gz manaverse-4cd59b0f9f30b7104197fa96851b616fb9981caa.tar.bz2 manaverse-4cd59b0f9f30b7104197fa96851b616fb9981caa.tar.xz manaverse-4cd59b0f9f30b7104197fa96851b616fb9981caa.zip |
Add support for small screens with on screen top right buttons.
Add button "WIN" to buttons list.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 318641011..2e4ff851b 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -822,6 +822,11 @@ void Viewport::showLinkPopup(const std::string &link) mPopupMenu->showLinkPopup(getMouseX(), getMouseY(), link); } +void Viewport::showWindowsPopup() +{ + mPopupMenu->showWindowsPopup(getMouseX(), getMouseY()); +} + void Viewport::closePopupMenu() { if (mPopupMenu) |