diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-21 05:25:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-21 05:25:01 +0300 |
commit | 8037d33c9f429d4c0322da383cdda46776c3c14e (patch) | |
tree | 7460a6dd0c774817ff1dd92aa190776ae1684ed9 /src/gui/viewport.cpp | |
parent | d7eae524bf7e88ebb5a324431b74a77ce1e7fded (diff) | |
download | manaplus-8037d33c9f429d4c0322da383cdda46776c3c14e.tar.gz manaplus-8037d33c9f429d4c0322da383cdda46776c3c14e.tar.bz2 manaplus-8037d33c9f429d4c0322da383cdda46776c3c14e.tar.xz manaplus-8037d33c9f429d4c0322da383cdda46776c3c14e.zip |
Impliment attack filter.
Add tab in social tab.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 6 |
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) |