summaryrefslogtreecommitdiff
path: root/src/gui/sell.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-07 15:23:07 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-07 15:23:07 +0000
commit92950d2f309550e21b33d851ef9bbf7906ce5e50 (patch)
tree18a6d2539c6e004e52cbebb1e61d8f8f0344f9a0 /src/gui/sell.h
parent3f3ba5f3e18b0a5093e7275aee574ecd6f293ec6 (diff)
downloadmana-92950d2f309550e21b33d851ef9bbf7906ce5e50.tar.gz
mana-92950d2f309550e21b33d851ef9bbf7906ce5e50.tar.bz2
mana-92950d2f309550e21b33d851ef9bbf7906ce5e50.tar.xz
mana-92950d2f309550e21b33d851ef9bbf7906ce5e50.zip
Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except for
gcn::TabbedArea usage)
Diffstat (limited to 'src/gui/sell.h')
-rw-r--r--src/gui/sell.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/gui/sell.h b/src/gui/sell.h
index d5c70c45..c56337ef 100644
--- a/src/gui/sell.h
+++ b/src/gui/sell.h
@@ -25,10 +25,9 @@
#define _TMW_SELL_H
#include <guichan/actionlistener.hpp>
+#include <guichan/selectionlistener.hpp>
#include "window.h"
-#include "selectionlistener.h"
-#include "windowlistener.h"
#include "../guichanfwd.h"
@@ -42,8 +41,7 @@ class ShopListBox;
*
* \ingroup Interface
*/
-class SellDialog : public Window, gcn::ActionListener, SelectionListener,
- WindowListener
+class SellDialog : public Window, gcn::ActionListener, gcn::SelectionListener
{
public:
/**
@@ -78,12 +76,12 @@ class SellDialog : public Window, gcn::ActionListener, SelectionListener,
*
* @see SelectionListener::selectionChanged
*/
- void selectionChanged(const SelectionEvent &event);
+ void valueChanged(const gcn::SelectionEvent &event);
/**
- * Called whenever the window is resized.
+ * Called whenever the widget changes size.
*/
- void windowResized(const WindowEvent &event);
+ void widgetResized(const gcn::Event &event);
/**
* Gives Player's Money amount