summaryrefslogtreecommitdiff
path: root/src/gui/windows/selldialog.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/selldialog.h
parent938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff)
downloadmanaplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz
manaplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2
manaplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz
manaplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/selldialog.h')
-rw-r--r--src/gui/windows/selldialog.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/windows/selldialog.h b/src/gui/windows/selldialog.h
index bd270919e..0cfffbf38 100644
--- a/src/gui/windows/selldialog.h
+++ b/src/gui/windows/selldialog.h
@@ -122,7 +122,7 @@ class SellDialog final : public Window,
*/
void updateButtonsAndLabels();
- int mNpcId;
+ std::string mNick;
Button *mSellButton;
Button *mQuitButton;
@@ -134,14 +134,12 @@ class SellDialog final : public Window,
Label *mMoneyLabel;
Label *mQuantityLabel;
Slider *mSlider;
-
ShopItems *mShopItems;
- int mPlayerMoney;
+ int mNpcId;
+ int mPlayerMoney;
int mMaxItems;
int mAmountItems;
-
- std::string mNick;
};
#endif // GUI_WINDOWS_SELLDIALOG_H