diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-07 17:03:55 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-07 17:03:55 +0000 |
commit | b2b13c21091b516b57b4bf3c91a313f019bf3579 (patch) | |
tree | 995e63ecadf1ea16c94b9d39b66a367358b5a27a /src/gui/inventorywindow.h | |
parent | c09825097c0231c57f9ac416fae0003c5d68398c (diff) | |
download | mana-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.gz mana-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.bz2 mana-b2b13c21091b516b57b4bf3c91a313f019bf3579.tar.xz mana-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.h | 10 |
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; |