summaryrefslogtreecommitdiff
path: root/src/gui/buydialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-12 22:15:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-30 01:11:46 +0300
commit9426129bc51ef8b63ddd4b76999dee4a86ce4de7 (patch)
tree692247e5aef4652a0f965f0d734c2721ea09f556 /src/gui/buydialog.h
parent6d1bf985f847291d35adea56aa633ccb30362e8f (diff)
downloadmanaplus-9426129bc51ef8b63ddd4b76999dee4a86ce4de7.tar.gz
manaplus-9426129bc51ef8b63ddd4b76999dee4a86ce4de7.tar.bz2
manaplus-9426129bc51ef8b63ddd4b76999dee4a86ce4de7.tar.xz
manaplus-9426129bc51ef8b63ddd4b76999dee4a86ce4de7.zip
Add sort option to buy dialog from players.
Diffstat (limited to 'src/gui/buydialog.h')
-rw-r--r--src/gui/buydialog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/buydialog.h b/src/gui/buydialog.h
index 66aa70c78..76910f247 100644
--- a/src/gui/buydialog.h
+++ b/src/gui/buydialog.h
@@ -29,8 +29,10 @@
#include <guichan/selectionlistener.hpp>
class Button;
+class DropDown;
class ShopItems;
class ShopListBox;
+class SortListModel;
class IntTextField;
class Label;
class ListBox;
@@ -145,6 +147,8 @@ class BuyDialog final : public Window,
int mAmountItems;
int mMaxItems;
std::string mNick;
+ SortListModel *mSortModel;
+ DropDown *mSortDropDown;
};
#endif