summaryrefslogtreecommitdiff
path: root/src/gui/storagewindow.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-03-24 23:10:51 -0600
committerJared Adams <jaxad0127@gmail.com>2010-03-25 11:31:55 -0600
commitbf6cb46d9b06b06470efd5ad3ebae7e274f6906f (patch)
tree281cdf6d017477f07e02e73acef175f937c18eed /src/gui/storagewindow.h
parent83077364f8b67fb9fc57e8b04a1feff0e243848d (diff)
downloadmana-client-bf6cb46d9b06b06470efd5ad3ebae7e274f6906f.tar.gz
mana-client-bf6cb46d9b06b06470efd5ad3ebae7e274f6906f.tar.bz2
mana-client-bf6cb46d9b06b06470efd5ad3ebae7e274f6906f.tar.xz
mana-client-bf6cb46d9b06b06470efd5ad3ebae7e274f6906f.zip
Eliminate the logic methods from InventoryWindow and StorageWindow
Diffstat (limited to 'src/gui/storagewindow.h')
-rw-r--r--src/gui/storagewindow.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/storagewindow.h b/src/gui/storagewindow.h
index 046b7613..8e09768d 100644
--- a/src/gui/storagewindow.h
+++ b/src/gui/storagewindow.h
@@ -43,7 +43,8 @@ class TextBox;
* \ingroup Interface
*/
class StorageWindow : public Window, gcn::ActionListener,
- gcn::SelectionListener
+ gcn::SelectionListener,
+ public InventoryListener
{
public:
/**
@@ -57,11 +58,6 @@ class StorageWindow : public Window, gcn::ActionListener,
~StorageWindow();
/**
- * Logic (updates buttons and weight information).
- */
- void logic();
-
- /**
* Called when receiving actions from the widgets.
*/
void action(const gcn::ActionEvent &event);
@@ -79,6 +75,8 @@ class StorageWindow : public Window, gcn::ActionListener,
*/
void close();
+ void slotsChanged(Inventory* inventory);
+
/**
* Add the specified ammount of the specified item to storage
*/