diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 18:54:04 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 18:57:04 +0100 |
commit | 4b70908a529317ce4e57448fe4f4a59e75416537 (patch) | |
tree | a041eeed198708bf5f558f595f716c7814961daf /src/gui/popupmenu.cpp | |
parent | 372f6493d07cbffb601ecb775ebecd51267725cf (diff) | |
download | mana-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.cpp | 6 |
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" && |