summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 23:41:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 23:41:10 +0300
commit3eb71b6f5e3a60de5b597ba2f600f3bb57fccde6 (patch)
treebee625a283f1bfee9c8f3bb1589743d07f8eba5e /src/gui/widgets/itemcontainer.h
parent4dbd8c4f4b97a9d65e407151773f65ee1f9dbae7 (diff)
downloadplus-3eb71b6f5e3a60de5b597ba2f600f3bb57fccde6.tar.gz
plus-3eb71b6f5e3a60de5b597ba2f600f3bb57fccde6.tar.bz2
plus-3eb71b6f5e3a60de5b597ba2f600f3bb57fccde6.tar.xz
plus-3eb71b6f5e3a60de5b597ba2f600f3bb57fccde6.zip
move bools in itemcontainer.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r--src/gui/widgets/itemcontainer.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h
index 3358b113c..da9167a7e 100644
--- a/src/gui/widgets/itemcontainer.h
+++ b/src/gui/widgets/itemcontainer.h
@@ -193,36 +193,36 @@ class ItemContainer final : public gcn::Widget,
int getSlotIndex(const int x, const int y) const;
Inventory *mInventory;
- int mGridColumns, mGridRows;
Image *mSelImg;
- int mSelectedIndex, mHighlightedIndex;
- int mLastUsedSlot;
- SelectionState mSelectionStatus;
- bool mForceQuantity;
- bool mSwapItems;
- bool mDescItems;
- int mTag;
- int mSortType;
std::string mName;
ItemPopup *mItemPopup;
int *mShowMatrix;
- int mClicks;
Skin *mSkin;
+ gcn::Color mEquipedColor;
+ gcn::Color mEquipedColor2;
+ gcn::Color mUnEquipedColor;
+ gcn::Color mUnEquipedColor2;
+ typedef std::list<gcn::SelectionListener*> SelectionListenerList;
+ typedef SelectionListenerList::iterator SelectionListenerIterator;
+ SelectionListenerList mSelectionListeners;
+ int mGridColumns;
+ int mGridRows;
+ int mSelectedIndex;
+ int mHighlightedIndex;
+ int mLastUsedSlot;
+ int mTag;
+ int mSortType;
+ int mClicks;
int mBoxWidth;
int mBoxHeight;
int mEquippedTextPadding;
int mPaddingItemX;
int mPaddingItemY;
-
- typedef std::list<gcn::SelectionListener*> SelectionListenerList;
- typedef SelectionListenerList::iterator SelectionListenerIterator;
-
- SelectionListenerList mSelectionListeners;
- gcn::Color mEquipedColor;
- gcn::Color mEquipedColor2;
- gcn::Color mUnEquipedColor;
- gcn::Color mUnEquipedColor2;
+ SelectionState mSelectionStatus;
+ bool mForceQuantity;
+ bool mSwapItems;
+ bool mDescItems;
};
#endif // GUI_WIDGETS_ITEMCONTAINER_H