diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-22 15:38:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-22 15:38:51 +0300 |
commit | 7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1 (patch) | |
tree | ca8ecc25a420c93944db3b9444acc1f68931efd5 /src/gui/viewport.cpp | |
parent | ba931a717cb5a2549ecdaa1f924dbbf5f896a21b (diff) | |
download | plus-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.tar.gz plus-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.tar.bz2 plus-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.tar.xz plus-7b07b0a09fd9799a7aca09c0dcd97a53547b0fa1.zip |
Add context menu into windows.
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 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) |