summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-09-30 19:19:47 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-09-30 19:19:47 +0000
commit5cf5f65fd67cbae98a54479f0cba8be0f2876bd3 (patch)
tree27d88a06cbbd36765ce5c3af05f35adcc6e7b4c2 /src/gui/inventorywindow.h
parent232c094b842e1540e9fd4b719894c4b3a4136659 (diff)
downloadmana-client-5cf5f65fd67cbae98a54479f0cba8be0f2876bd3.tar.gz
mana-client-5cf5f65fd67cbae98a54479f0cba8be0f2876bd3.tar.bz2
mana-client-5cf5f65fd67cbae98a54479f0cba8be0f2876bd3.tar.xz
mana-client-5cf5f65fd67cbae98a54479f0cba8be0f2876bd3.zip
Made the inventory Win behave normally when resized by default size functions.
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;