summaryrefslogtreecommitdiff
path: root/src/gui/inventory.h
diff options
context:
space:
mode:
authorAaron Marks <nymacro@gmail.com>2005-04-09 12:48:06 +0000
committerAaron Marks <nymacro@gmail.com>2005-04-09 12:48:06 +0000
commit0a93e5f7e5170127d63a3d8aecab960ac13cf81f (patch)
treef32b302fcd3e2b86e4e629e8379617d48df05129 /src/gui/inventory.h
parent5825ea30189a028006de117bbdc62a6d7acaa919 (diff)
downloadmana-client-0a93e5f7e5170127d63a3d8aecab960ac13cf81f.tar.gz
mana-client-0a93e5f7e5170127d63a3d8aecab960ac13cf81f.tar.bz2
mana-client-0a93e5f7e5170127d63a3d8aecab960ac13cf81f.tar.xz
mana-client-0a93e5f7e5170127d63a3d8aecab960ac13cf81f.zip
Added better support for inventory (currently its resizable by dragging the top
right of the window).
Diffstat (limited to 'src/gui/inventory.h')
-rw-r--r--src/gui/inventory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/inventory.h b/src/gui/inventory.h
index 591e316e..ab65c122 100644
--- a/src/gui/inventory.h
+++ b/src/gui/inventory.h
@@ -86,12 +86,16 @@ class InventoryWindow : public Window, gcn::ActionListener {
void action(const std::string& eventId);
int dropItem(int index, int quantity);
+
+ void mouseMotion(int mx, int my);
ItemContainer *items;
private:
gcn::Button *useButton, *dropButton;
+ gcn::ScrollArea *invenScroll;
int useItem(int index, int id);
+ void updateWidgets();
};