summaryrefslogtreecommitdiff
path: root/src/gui/popupmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-17 13:40:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-17 13:40:14 +0300
commit2cb9f5c3d47077a459fabf15800b1c45cfdacb3a (patch)
treead6eba1142495acd31dc8a50b56988a26350f2d5 /src/gui/popupmanager.cpp
parent829cd57e021ea85cffdbd3f3a7b18da835e00b7c (diff)
downloadmv-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.tar.gz
mv-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.tar.bz2
mv-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.tar.xz
mv-2cb9f5c3d47077a459fabf15800b1c45cfdacb3a.zip
Remove proxy methods used for access popup menu.
Diffstat (limited to 'src/gui/popupmanager.cpp')
-rw-r--r--src/gui/popupmanager.cpp181
1 files changed, 0 insertions, 181 deletions
diff --git a/src/gui/popupmanager.cpp b/src/gui/popupmanager.cpp
index 8f5dbdb0c..dc9bdc32f 100644
--- a/src/gui/popupmanager.cpp
+++ b/src/gui/popupmanager.cpp
@@ -50,187 +50,6 @@ PopupManager::~PopupManager()
delete2(mTextPopup);
}
-void PopupManager::showPopup(Window *const parent,
- const int x, const int y,
- Item *const item,
- const bool isInventory)
-{
- popupMenu->showPopup(parent, x, y, item, isInventory);
-}
-
-void PopupManager::showPopup(MapItem *const item)
-{
- popupMenu->showPopup(viewport->getMouseX(), viewport->getMouseY(), item);
-}
-
-void PopupManager::showPopup(Window *const parent,
- Item *const item,
- const bool isInventory)
-{
- popupMenu->showPopup(parent, viewport->getMouseX(), viewport->getMouseY(),
- item, isInventory);
-}
-
-void PopupManager::showPopup(const int x, const int y,
- const std::vector<ActorSprite*> &beings)
-{
- popupMenu->showPopup(x, y, beings);
-}
-
-void PopupManager::showPopup(const int x, const int y,
- const FloorItem *const floorItem)
-{
- popupMenu->showPopup(x, y, floorItem);
-}
-
-void PopupManager::showPopup(const int x, const int y, MapItem *const mapItem)
-{
- popupMenu->showPopup(x, y, mapItem);
-}
-
-void PopupManager::showItemPopup(Item *const item)
-{
- popupMenu->showItemPopup(viewport->getMouseX(), viewport->getMouseY(),
- item);
-}
-
-void PopupManager::showItemPopup(const int itemId,
- const unsigned char color)
-{
- popupMenu->showItemPopup(viewport->getMouseX(), viewport->getMouseY(),
- itemId, color);
-}
-
-void PopupManager::showDropPopup(Item *const item)
-{
- popupMenu->showDropPopup(viewport->getMouseX(), viewport->getMouseY(),
- item);
-}
-
-void PopupManager::showOutfitsPopup(const int x, const int y)
-{
- popupMenu->showOutfitsPopup(x, y);
-}
-
-void PopupManager::showOutfitsPopup()
-{
- popupMenu->showOutfitsPopup(viewport->getMouseX(), viewport->getMouseY());
-}
-
-void PopupManager::showSpellPopup(TextCommand *const cmd)
-{
- popupMenu->showSpellPopup(viewport->getMouseX(), viewport->getMouseY(),
- cmd);
-}
-
-void PopupManager::showChatPopup(const int x, const int y,
- ChatTab *const tab)
-{
- popupMenu->showChatPopup(x, y, tab);
-}
-
-void PopupManager::showChatPopup(ChatTab *const tab)
-{
- popupMenu->showChatPopup(viewport->getMouseX(), viewport->getMouseY(),
- tab);
-}
-
-void PopupManager::showPopup(const int x, const int y,
- const Being *const being)
-{
- popupMenu->showPopup(x, y, being);
-}
-
-void PopupManager::showPopup(const Being *const being)
-{
- popupMenu->showPopup(viewport->getMouseX(), viewport->getMouseY(), being);
-}
-
-void PopupManager::showPlayerPopup(const std::string &nick)
-{
- popupMenu->showPlayerPopup(viewport->getMouseX(), viewport->getMouseY(),
- nick);
-}
-
-void PopupManager::showPopup(const int x, const int y,
- Button *const button)
-{
- popupMenu->showPopup(x, y, button);
-}
-
-void PopupManager::showPopup(const int x, const int y,
- const ProgressBar *const bar)
-{
- popupMenu->showPopup(x, y, bar);
-}
-
-void PopupManager::showAttackMonsterPopup(const std::string &name,
- const ActorType::Type &type)
-{
- popupMenu->showAttackMonsterPopup(viewport->getMouseX(),
- viewport->getMouseY(),
- name,
- type);
-}
-
-void PopupManager::showPickupItemPopup(const std::string &name)
-{
- popupMenu->showPickupItemPopup(viewport->getMouseX(),
- viewport->getMouseY(),
- name);
-}
-
-void PopupManager::showUndressPopup(const int x, const int y,
- const Being *const being,
- Item *const item)
-{
- popupMenu->showUndressPopup(x, y, being, item);
-}
-
-void PopupManager::showMapPopup(const int x, const int y)
-{
- popupMenu->showMapPopup(viewport->getMouseX(), viewport->getMouseY(),
- x, y);
-}
-
-void PopupManager::showMapPopup(const int x1, const int y1,
- const int x2, const int y2)
-{
- popupMenu->showMapPopup(x1, y1, x2, y2);
-}
-
-void PopupManager::showTextFieldPopup(TextField *const input)
-{
- popupMenu->showTextFieldPopup(viewport->getMouseX(),
- viewport->getMouseY(),
- input);
-}
-
-void PopupManager::showLinkPopup(const std::string &link)
-{
- popupMenu->showLinkPopup(viewport->getMouseX(),
- viewport->getMouseY(),
- link);
-}
-
-void PopupManager::showWindowsPopup()
-{
- popupMenu->showWindowsPopup(viewport->getMouseX(), viewport->getMouseY());
-}
-
-void PopupManager::showNpcDialogPopup(const int npcId)
-{
- popupMenu->showNpcDialogPopup(npcId,
- viewport->getMouseX(),
- viewport->getMouseY());
-}
-
-void PopupManager::showWindowPopup(Window *const window)
-{
- popupMenu->showWindowPopup(window, viewport->getMouseX(),
- viewport->getMouseY());
-}
-
void PopupManager::closePopupMenu()
{
if (popupMenu)