diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-08 03:15:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-08 03:23:43 +0300 |
commit | f1c17766c66394ce875854430f8f028c0fa5b3a5 (patch) | |
tree | d42df4e515bff99c577d44a381dbb143d21833e9 /src/gui/inventorywindow.h | |
parent | 327c7e01b95263961d1e3ecd450939de01262346 (diff) | |
download | mv-f1c17766c66394ce875854430f8f028c0fa5b3a5.tar.gz mv-f1c17766c66394ce875854430f8f028c0fa5b3a5.tar.bz2 mv-f1c17766c66394ce875854430f8f028c0fa5b3a5.tar.xz mv-f1c17766c66394ce875854430f8f028c0fa5b3a5.zip |
Add additional sorting methods to inventory:
by weight, by amount, by type.
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r-- | src/gui/inventorywindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h index 503423ad3..c07b5b0e1 100644 --- a/src/gui/inventorywindow.h +++ b/src/gui/inventorywindow.h @@ -41,10 +41,12 @@ #define A_UNUSED #endif +class DropDown; class Item; class ItemContainer; class InventoryFilter; class ProgressBar; +class SortListModel; class TextBox; /** @@ -151,7 +153,8 @@ class InventoryWindow : public Window, ProgressBar *mWeightBar, *mSlotsBar; InventoryFilter *mFilter; - InventoryFilter *mSorter; + DropDown *mSortDropDown; + SortListModel *mSortModel; bool mSplit; }; |