diff options
Diffstat (limited to 'src/gui/equipmentwindow.h')
-rw-r--r-- | src/gui/equipmentwindow.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/equipmentwindow.h b/src/gui/equipmentwindow.h index cb6d5c087..c8cc36fbd 100644 --- a/src/gui/equipmentwindow.h +++ b/src/gui/equipmentwindow.h @@ -101,6 +101,8 @@ class EquipmentWindow final : public Window, public gcn::ActionListener void mouseMoved(gcn::MouseEvent &event) override; + void recalcSize(); + private: Item *getItem(const int x, const int y) const; @@ -110,8 +112,7 @@ class EquipmentWindow final : public Window, public gcn::ActionListener void fillDefault(); - void addBox(const int idx, const int x, const int y, - const int imageIndex); + void addBox(const int idx, int x, int y, const int imageIndex); void loadWindow(const XmlNodePtr windowNode); @@ -140,6 +141,11 @@ class EquipmentWindow final : public Window, public gcn::ActionListener Image *mSlotHighlightedBackground; int mItemPadding; int mBoxSize; + int mButtonPadding; + int mMinX; + int mMinY; + int mMaxX; + int mMaxY; }; extern EquipmentWindow *equipmentWindow; |