summaryrefslogtreecommitdiff
path: root/src/gui/windows/buydialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
commit5ae6d3b29f93fe2bd7222eb843c8688561ac612c (patch)
treebb531156ba9adb428fea2fae5b97f94d3198d70d /src/gui/windows/buydialog.h
parent938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff)
downloadplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/buydialog.h')
-rw-r--r--src/gui/windows/buydialog.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/windows/buydialog.h b/src/gui/windows/buydialog.h
index aa163d5d0..02862187c 100644
--- a/src/gui/windows/buydialog.h
+++ b/src/gui/windows/buydialog.h
@@ -136,8 +136,6 @@ class BuyDialog final : public Window,
typedef std::list<BuyDialog*> DialogList;
static DialogList instances;
- int mNpcId;
-
Button *mBuyButton;
Button *mQuitButton;
Button *mAddMaxButton;
@@ -150,15 +148,15 @@ class BuyDialog final : public Window,
Slider *mSlider;
Label *mAmountLabel;
IntTextField *mAmountField;
-
ShopItems *mShopItems;
+ SortListModelBuy *mSortModel;
+ DropDown *mSortDropDown;
+ int mNpcId;
int mMoney;
int mAmountItems;
int mMaxItems;
std::string mNick;
- SortListModelBuy *mSortModel;
- DropDown *mSortDropDown;
};
#endif // GUI_WINDOWS_BUYDIALOG_H