summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 18:54:04 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 18:57:04 +0100
commit4b70908a529317ce4e57448fe4f4a59e75416537 (patch)
treea041eeed198708bf5f558f595f716c7814961daf /src/gui/popupmenu.cpp
parent372f6493d07cbffb601ecb775ebecd51267725cf (diff)
downloadmana-client-4b70908a529317ce4e57448fe4f4a59e75416537.tar.gz
mana-client-4b70908a529317ce4e57448fe4f4a59e75416537.tar.bz2
mana-client-4b70908a529317ce4e57448fe4f4a59e75416537.tar.xz
mana-client-4b70908a529317ce4e57448fe4f4a59e75416537.zip
Fixed inventory window. Not resizable though.
Resizing of the inventory window may come back later. Also did some more code cleanups, moving defines to enums, getting rid of eAthena-specific offset handling (to be done in the network layer), etc. Mantis-issue: 666
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 0b019fef..5b5b2b8c 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -284,11 +284,13 @@ void PopupMenu::handleLink(const std::string &link)
else if (link == "split")
{
- new ItemAmountWindow(AMOUNT_ITEM_SPLIT, inventoryWindow, mItem);
+ new ItemAmountWindow(ItemAmountWindow::ItemSplit,
+ inventoryWindow, mItem);
}
else if (link == "drop")
{
- new ItemAmountWindow(AMOUNT_ITEM_DROP, inventoryWindow, mItem);
+ new ItemAmountWindow(ItemAmountWindow::ItemDrop,
+ inventoryWindow, mItem);
}
#ifdef EATHENA_SUPPORT
else if (link == "party-invite" &&