diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 8 | ||||
-rw-r--r-- | src/gui/windows/shopwindow.h | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 32580454d..c4795dd9e 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -84,14 +84,14 @@ ShopWindow::DialogList ShopWindow::instances; ShopWindow::ShopWindow() : // TRANSLATORS: shop window name Window(_("Personal Shop"), false, nullptr, "shop.xml"), - ActionListener(), - SelectionListener(), VendingModeListener(), VendingSlotsListener(), #ifdef EATHENA_SUPPORT BuyingStoreModeListener(), -#endif BuyingStoreSlotsListener(), +#endif + ActionListener(), + SelectionListener(), // TRANSLATORS: shop window button mCloseButton(new Button(this, _("Close"), "close", this)), mBuyShopItems(new ShopItems), @@ -1074,13 +1074,13 @@ void ShopWindow::setShopName(const std::string &name) updateShopName(); } +#ifdef EATHENA_SUPPORT void ShopWindow::buyingStoreSlotsChanged(const int slots) { mBuyShopSize = slots; updateButtonsAndLabels(); } -#ifdef EATHENA_SUPPORT void ShopWindow::buyingStoreEnabled(const bool b) { mEnableBuyingStore = b; diff --git a/src/gui/windows/shopwindow.h b/src/gui/windows/shopwindow.h index 8cf1cecd5..500d67727 100644 --- a/src/gui/windows/shopwindow.h +++ b/src/gui/windows/shopwindow.h @@ -47,14 +47,14 @@ class TabStrip; * \ingroup Interface */ class ShopWindow final : public Window, - public ActionListener, - public SelectionListener, public VendingModeListener, public VendingSlotsListener, #ifdef EATHENA_SUPPORT public BuyingStoreModeListener, + public BuyingStoreSlotsListener, #endif - public BuyingStoreSlotsListener + public ActionListener, + public SelectionListener { public: enum ShopMode @@ -149,12 +149,12 @@ class ShopWindow final : public Window, void vendingSlotsChanged(const int slots) override final; - void buyingStoreSlotsChanged(const int slots) override final; - void vendingEnabled(const bool b) override final; #ifdef EATHENA_SUPPORT void buyingStoreEnabled(const bool b) override final; + + void buyingStoreSlotsChanged(const int slots) override final; #endif void setShopName(const std::string &name); |