From 4525bedabcf5796da0d7923a014bbdc18fee429e Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sat, 28 May 2005 00:18:59 +0000 Subject: Applied inventory weight information patch by Javila. --- src/gui/inventory.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/inventory.h') diff --git a/src/gui/inventory.h b/src/gui/inventory.h index 37edff7f..969424fb 100644 --- a/src/gui/inventory.h +++ b/src/gui/inventory.h @@ -51,7 +51,7 @@ class InventoryWindow : public Window, gcn::ActionListener ~InventoryWindow(); /** - * Logic (updates buttons) + * Logic (updates buttons and weight information) */ void logic(); @@ -93,6 +93,7 @@ class InventoryWindow : public Window, gcn::ActionListener int dropItem(int index, int quantity); void mouseClick(int x, int y, int button, int count); + void mouseMotion(int mx, int my); ItemContainer *items; @@ -107,6 +108,7 @@ class InventoryWindow : public Window, gcn::ActionListener gcn::Label *itemNameLabel; gcn::Label *itemDescriptionLabel; + gcn::Label *weightLabel; }; #endif -- cgit v1.2.3-70-g09d2