summaryrefslogtreecommitdiff
path: root/src/gui/widgets/inventoryfilter.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-04 00:31:44 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-04 00:31:44 +0200
commit311783bebbe2bed366dca5097697ce34c690292d (patch)
tree0533581ca605f773a67739efccf75472a4d35dd7 /src/gui/widgets/inventoryfilter.h
parent76bc1a5c994b46d8a4486a1226f681f7a4982f1c (diff)
downloadplus-311783bebbe2bed366dca5097697ce34c690292d.tar.gz
plus-311783bebbe2bed366dca5097697ce34c690292d.tar.bz2
plus-311783bebbe2bed366dca5097697ce34c690292d.tar.xz
plus-311783bebbe2bed366dca5097697ce34c690292d.zip
Add draw filter (incomplete)
Diffstat (limited to 'src/gui/widgets/inventoryfilter.h')
-rw-r--r--src/gui/widgets/inventoryfilter.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/inventoryfilter.h b/src/gui/widgets/inventoryfilter.h
index 36112d374..28423413f 100644
--- a/src/gui/widgets/inventoryfilter.h
+++ b/src/gui/widgets/inventoryfilter.h
@@ -22,6 +22,7 @@
#ifndef GUI_INVENTORYFILTER_H
#define GUI_INVENTORYFILTER_H
+#include <guichan/actionlistener.hpp>
#include <guichan/widgetlistener.hpp>
#include "gui/widgets/horizontcontainer.h"
@@ -39,12 +40,15 @@
*
* This container places it's contents veritcally.
*/
-class InventoryFilter : public HorizontContainer
+class InventoryFilter : public HorizontContainer, public gcn::ActionListener
{
public:
InventoryFilter(std::string group, int height, int spacing);
+
void add(std::string tag);
+ void action(const gcn::ActionEvent &event);
+
private:
std::string mGroup;
};