diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-13 20:33:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-13 20:33:37 +0300 |
commit | 5ae6d3b29f93fe2bd7222eb843c8688561ac612c (patch) | |
tree | bb531156ba9adb428fea2fae5b97f94d3198d70d /src/gui/windows/outfitwindow.h | |
parent | 938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff) | |
download | mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2 mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz mv-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip |
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/outfitwindow.h')
-rw-r--r-- | src/gui/windows/outfitwindow.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gui/windows/outfitwindow.h b/src/gui/windows/outfitwindow.h index 55948f834..cf60c32ad 100644 --- a/src/gui/windows/outfitwindow.h +++ b/src/gui/windows/outfitwindow.h @@ -94,19 +94,22 @@ class OutfitWindow final : public Window, void clearCurrentOutfit(); private: + int getIndexFromGrid(const int pointX, + const int pointY) const A_WARN_UNUSED; + void save() const; + Button *mPreviousButton; Button *mNextButton; Button *mEquipButtom; Label *mCurrentLabel; CheckBox *mUnequipCheck; CheckBox *mAwayOutfitCheck; - int mCurrentOutfit; Label *mKeyLabel; - int getIndexFromGrid(const int pointX, - const int pointY) const A_WARN_UNUSED; - void save() const; + Color mBorderColor; + Color mBackgroundColor; + int mCurrentOutfit; int mBoxWidth; int mBoxHeight; int mGridWidth; @@ -115,8 +118,6 @@ class OutfitWindow final : public Window, int mItems[OUTFITS_COUNT + 1][OUTFIT_ITEM_COUNT]; int mAwayOutfit; - Color mBorderColor; - Color mBackgroundColor; unsigned char mItemColors[OUTFITS_COUNT + 1][OUTFIT_ITEM_COUNT]; bool mItemClicked; bool mItemsUnequip[OUTFITS_COUNT]; |