summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-03 00:27:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-03 00:27:30 +0300
commit81459cad43110d394f544d7bb854a467e55784f1 (patch)
tree7f6969476bc756c3fe146bf73aa891a8ff5f557b /src/gui/windows/shopwindow.h
parent1a34e0c62d1d033d79b28c4a9bfd85a2ccd093ad (diff)
downloadmv-81459cad43110d394f544d7bb854a467e55784f1.tar.gz
mv-81459cad43110d394f544d7bb854a467e55784f1.tar.bz2
mv-81459cad43110d394f544d7bb854a467e55784f1.tar.xz
mv-81459cad43110d394f544d7bb854a467e55784f1.zip
eathena: allow rename shop.
Diffstat (limited to 'src/gui/windows/shopwindow.h')
-rw-r--r--src/gui/windows/shopwindow.h6
1 files changed, 6 insertions, 0 deletions
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<ShopWindow*> 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;