From 81459cad43110d394f544d7bb854a467e55784f1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 3 Feb 2015 00:27:30 +0300 Subject: eathena: allow rename shop. --- src/gui/windows/shopwindow.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui/windows/shopwindow.h') diff --git a/src/gui/windows/shopwindow.h b/src/gui/windows/shopwindow.h index c746bff17..0acc814b1 100644 --- a/src/gui/windows/shopwindow.h +++ b/src/gui/windows/shopwindow.h @@ -145,11 +145,15 @@ class ShopWindow final : public Window, void vendingEnabled(const bool b) override final; + void setShopName(const std::string &name); + private: void startTrade(); void updateSelection(); + void updateShopName(); + typedef std::list DialogList; static DialogList instances; @@ -167,10 +171,12 @@ class ShopWindow final : public Window, Button *mDeleteButton; Button *mAnnounceButton; Button *mPublishButton; + Button *mRenameButton; CheckBox *mAnnounceLinks; TabStrip *mTabs; std::string mAcceptPlayer; std::string mTradeNick; + std::string mSellShopName; int mSelectedItem; int mAnnonceTime; int mLastRequestTimeList; -- cgit v1.2.3-60-g2f50