summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-22 15:38:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-22 15:38:51 +0300
commit7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1 (patch)
treeca8ecc25a420c93944db3b9444acc1f68931efd5 /src/gui/viewport.cpp
parentba931a717cb5a2549ecdaa1f924dbbf5f896a21b (diff)
downloadManaVerse-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.tar.gz
ManaVerse-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.tar.bz2
ManaVerse-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.tar.xz
ManaVerse-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.zip
Add context menu into windows.
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 16112fef6..ba11bdf95 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -846,6 +846,11 @@ void Viewport::showNpcDialogPopup(const int npcId)
mPopupMenu->showNpcDialogPopup(npcId, mMouseX, mMouseY);
}
+void Viewport::showWindowPopup(Window *const window)
+{
+ mPopupMenu->showWindowPopup(window, mMouseX, mMouseY);
+}
+
void Viewport::closePopupMenu()
{
if (mPopupMenu)