summaryrefslogtreecommitdiff
path: root/src/gui/equipmentwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/equipmentwindow.h')
-rw-r--r--src/gui/equipmentwindow.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h
index 4d20a8447..df086f962 100644
--- a/src/gui/equipmentwindow.h
+++ b/src/gui/equipmentwindow.h
@@ -37,6 +37,7 @@
#include <vector>
class Being;
+class Button;
class Inventory;
class Image;
class ImageSet;
@@ -44,11 +45,6 @@ class Item;
class ItemPopup;
class PlayerBox;
-namespace gcn
-{
- class Button;
-}
-
struct EquipmentBox final
{
EquipmentBox(const int x0, const int y0, Image *const img) :
@@ -130,7 +126,7 @@ class EquipmentWindow final : public Window, public gcn::ActionListener
ItemPopup *mItemPopup;
PlayerBox *mPlayerBox;
- gcn::Button *mUnequip;
+ Button *mUnequip;
int mSelected; /**< Index of selected item. */
bool mForing;