summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-13 00:12:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-13 00:12:19 +0300
commit906331c5a512e54424b148a2a89590bc03a704ff (patch)
tree16ca1feda8dc2f005424746421dd455b8b3c6c55 /src/gui/widgets/itemcontainer.h
parentb2a22c500de97b68f0684313b2e6304bf70b728d (diff)
downloadmanaverse-906331c5a512e54424b148a2a89590bc03a704ff.tar.gz
manaverse-906331c5a512e54424b148a2a89590bc03a704ff.tar.bz2
manaverse-906331c5a512e54424b148a2a89590bc03a704ff.tar.xz
manaverse-906331c5a512e54424b148a2a89590bc03a704ff.zip
Change height in item containers if some items hidden by filter.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r--src/gui/widgets/itemcontainer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h
index ba640d374..c992c43f5 100644
--- a/src/gui/widgets/itemcontainer.h
+++ b/src/gui/widgets/itemcontainer.h
@@ -123,7 +123,7 @@ class ItemContainer final : public Widget,
void setName(const std::string &str)
{ mName = str; }
- void updateMatrix();
+ int updateMatrix();
bool getClickCount() const noexcept2 A_WARN_UNUSED
{ return mClicks != 0; }
@@ -202,6 +202,7 @@ class ItemContainer final : public Widget,
SelectionListenerList mSelectionListeners;
int mGridColumns;
int mGridRows;
+ int mDrawRows;
int mSelectedIndex;
int mLastUsedSlot;
int mTag;