summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-19 10:48:45 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-19 10:48:45 +0000
commit4ea68b6102053d591516ff3bc83512c71e2c8ce9 (patch)
tree33d36396a350525afc2726432f26418092e705a4 /src/gui/itemcontainer.h
parent46d62ec078de6edabc1979dbdbe7d51189cf2143 (diff)
downloadmana-client-4ea68b6102053d591516ff3bc83512c71e2c8ce9.tar.gz
mana-client-4ea68b6102053d591516ff3bc83512c71e2c8ce9.tar.bz2
mana-client-4ea68b6102053d591516ff3bc83512c71e2c8ce9.tar.xz
mana-client-4ea68b6102053d591516ff3bc83512c71e2c8ce9.zip
Allowed dragging of already selected items.
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r--src/gui/itemcontainer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h
index 38dc9f6e..8be338dd 100644
--- a/src/gui/itemcontainer.h
+++ b/src/gui/itemcontainer.h
@@ -160,7 +160,8 @@ class ItemContainer : public gcn::Widget,
int mGridColumns, mGridRows;
Image *mSelImg;
Item *mSelectedItem, *mHighlightedItem;
- bool mDragged, mSwapItems;
+ int mSelectionStatus;
+ bool mSwapItems;
int mDragPosX, mDragPosY;
std::list<SelectionListener*> mListeners;