summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-03 15:32:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-03 20:13:09 +0300
commit4cd59b0f9f30b7104197fa96851b616fb9981caa (patch)
tree60f976e0dc4ba9cf50359a0f1a2c1b4233b081ad /src/gui/viewport.cpp
parent5f4ac032fbf4f7b76a43da11bb1d40b94820a247 (diff)
downloadmv-4cd59b0f9f30b7104197fa96851b616fb9981caa.tar.gz
mv-4cd59b0f9f30b7104197fa96851b616fb9981caa.tar.bz2
mv-4cd59b0f9f30b7104197fa96851b616fb9981caa.tar.xz
mv-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.cpp5
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)