summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-21 05:25:01 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-21 05:25:01 +0300
commit8037d33c9f429d4c0322da383cdda46776c3c14e (patch)
tree7460a6dd0c774817ff1dd92aa190776ae1684ed9 /src/gui/viewport.cpp
parentd7eae524bf7e88ebb5a324431b74a77ce1e7fded (diff)
downloadmanaverse-8037d33c9f429d4c0322da383cdda46776c3c14e.tar.gz
manaverse-8037d33c9f429d4c0322da383cdda46776c3c14e.tar.bz2
manaverse-8037d33c9f429d4c0322da383cdda46776c3c14e.tar.xz
manaverse-8037d33c9f429d4c0322da383cdda46776c3c14e.zip
Impliment attack filter.
Add tab in social tab.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index ef33aa75b..e34dd658a 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -620,6 +620,12 @@ void Viewport::showPopup(int x, int y, ProgressBar *bar)
mPopupMenu->showPopup(x, y, bar);
}
+void Viewport::showAttackMonsterPopup(std::string name, bool isAttack)
+{
+ mPopupMenu->showAttackMonsterPopup(getMouseX(), getMouseY(),
+ name, isAttack);
+}
+
void Viewport::closePopupMenu()
{
if (mPopupMenu)