diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-09 00:47:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-09 00:47:57 +0300 |
commit | e72f26151bca6c5a73d0377e385c0f7dd7cab3aa (patch) | |
tree | 6960f1846e0258a5f3658cae6e2f40f643074e3f /src/gui/widgets/itemcontainer.h | |
parent | f1c17766c66394ce875854430f8f028c0fa5b3a5 (diff) | |
download | plus-e72f26151bca6c5a73d0377e385c0f7dd7cab3aa.tar.gz plus-e72f26151bca6c5a73d0377e385c0f7dd7cab3aa.tar.bz2 plus-e72f26151bca6c5a73d0377e385c0f7dd7cab3aa.tar.xz plus-e72f26151bca6c5a73d0377e385c0f7dd7cab3aa.zip |
Add to inventory filter by letters from item names.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r-- | src/gui/widgets/itemcontainer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h index df7de63ee..845bfb3a9 100644 --- a/src/gui/widgets/itemcontainer.h +++ b/src/gui/widgets/itemcontainer.h @@ -125,6 +125,9 @@ class ItemContainer : public gcn::Widget, void setSortType (int sortType); + void setName(std::string str) + { mName = str; } + void updateMatrix(); private: @@ -194,6 +197,7 @@ class ItemContainer : public gcn::Widget, int mDragPosX, mDragPosY; int mTag; int mSortType; + std::string mName; ItemPopup *mItemPopup; int *mShowMatrix; |