summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-07 17:03:55 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-07 17:03:55 +0000
commitb2b13c21091b516b57b4bf3c91a313f019bf3579 (patch)
tree995e63ecadf1ea16c94b9d39b66a367358b5a27a /src/gui/inventorywindow.h
parentc09825097c0231c57f9ac416fae0003c5d68398c (diff)
downloadmana-client-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.gz
mana-client-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.bz2
mana-client-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.xz
mana-client-b2b13c21091b516b57b4bf3c91a313f019bf3579.zip
Fixed my breakage of persistent window dimensions. Cleaned a few things along the way.
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 5ee89fef..b153bb39 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -59,14 +59,8 @@ class InventoryWindow : public Window, gcn::ActionListener, SelectionListener
void mouseClicked(gcn::MouseEvent &event);
- void mouseDragged(gcn::MouseEvent &event);
-
Item* getItem();
- void loadWindowState();
-
- void resetToDefaultSize();
-
/**
* Updates labels to currently selected item.
*
@@ -74,11 +68,11 @@ class InventoryWindow : public Window, gcn::ActionListener, SelectionListener
*/
void selectionChanged(const SelectionEvent &event);
+ void updateContentSize(); /**< Updates widgets size/position. */
+
private:
void updateButtons(); /**< Updates button states. */
- void updateWidgets(); /**< Updates widgets size/position. */
-
ItemContainer *mItems;
gcn::Button *mUseButton, *mDropButton;