summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-03 21:54:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-04 02:14:03 +0300
commit2288a403ad4377fbb552243e805aaf0b5a4f5a0d (patch)
treead081047290fb6cc101f43833de6f565a368cf29 /src/gui/windows/buydialog.h
parentcd636f7e367cfb7fa2c348d00071301a480d62c3 (diff)
downloadmv-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.tar.gz
mv-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.tar.bz2
mv-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.tar.xz
mv-2288a403ad4377fbb552243e805aaf0b5a4f5a0d.zip
Allow buy from npc shop or from market more than one of item at one transaction.
Diffstat (limited to 'src/gui/windows/buydialog.h')
-rw-r--r--src/gui/windows/buydialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/windows/buydialog.h b/src/gui/windows/buydialog.h
index dbb84b0ef..b74680509 100644
--- a/src/gui/windows/buydialog.h
+++ b/src/gui/windows/buydialog.h
@@ -159,6 +159,7 @@ class BuyDialog final : public Window,
static DialogList instances;
Button *mBuyButton A_NONNULLPOINTER;
+ Button *mConfirmButton A_NONNULLPOINTER;
Button *mQuitButton A_NONNULLPOINTER;
Button *mAddMaxButton A_NONNULLPOINTER;
Button *mIncreaseButton A_NONNULLPOINTER;
@@ -176,11 +177,12 @@ class BuyDialog final : public Window,
TextField *mFilterTextField A_NONNULLPOINTER;
Label *mFilterLabel;
+ std::string mNick;
BeingId mNpcId;
int mMoney;
int mAmountItems;
int mMaxItems;
- std::string mNick;
+ bool mAdvanced;
};
#endif // GUI_WINDOWS_BUYDIALOG_H