diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-04 00:31:44 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-04 00:31:44 +0200 |
commit | 311783bebbe2bed366dca5097697ce34c690292d (patch) | |
tree | 0533581ca605f773a67739efccf75472a4d35dd7 /src/gui/widgets/inventoryfilter.h | |
parent | 76bc1a5c994b46d8a4486a1226f681f7a4982f1c (diff) | |
download | ManaVerse-311783bebbe2bed366dca5097697ce34c690292d.tar.gz ManaVerse-311783bebbe2bed366dca5097697ce34c690292d.tar.bz2 ManaVerse-311783bebbe2bed366dca5097697ce34c690292d.tar.xz ManaVerse-311783bebbe2bed366dca5097697ce34c690292d.zip |
Add draw filter (incomplete)
Diffstat (limited to 'src/gui/widgets/inventoryfilter.h')
-rw-r--r-- | src/gui/widgets/inventoryfilter.h | 6 |
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; }; |