diff options
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; }; |