summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 59275f99..4dbda261 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -65,13 +65,19 @@ class InventoryWindow : public Window, gcn::ActionListener
void mouseMotion(int mx, int my);
- void updateWidgets(); /** Updates widgets size/position */
-
Item* getItem();
+ void loadWindowState();
+
+ void setDefaultSize(int defaultX, int defaultY, int defaultWidth, int defaultHeight);
+
+ void resetToDefaultSize();
+
private:
void updateButtons(); /** Updates button states */
+ void updateWidgets(); /** Updates widgets size/position */
+
ItemContainer *items;
gcn::Button *useButton, *dropButton;