summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.h
diff options
context:
space:
mode:
authorBlue Sans Douze <bluesansdouze@gmail.com>2011-03-21 01:37:14 +0100
committerBlue Sans Douze <bluesansdouze@gmail.com>2011-03-22 00:13:11 +0100
commit5e7c538997a2a01c5139ed315b53a1fe5d7cb90c (patch)
tree2b156c885b4de0f5c565a2e96ec53a7c72ec7ed5 /src/gui/setup_video.h
parent935d35a14fb0f5a635154e032cc113d7b6740976 (diff)
downloadmana-5e7c538997a2a01c5139ed315b53a1fe5d7cb90c.tar.gz
mana-5e7c538997a2a01c5139ed315b53a1fe5d7cb90c.tar.bz2
mana-5e7c538997a2a01c5139ed315b53a1fe5d7cb90c.tar.xz
mana-5e7c538997a2a01c5139ed315b53a1fe5d7cb90c.zip
Add option for sorting servers list (issue 316)
Diffstat (limited to 'src/gui/setup_video.h')
-rw-r--r--src/gui/setup_video.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/setup_video.h b/src/gui/setup_video.h
index d0e2c492..15a0387e 100644
--- a/src/gui/setup_video.h
+++ b/src/gui/setup_video.h
@@ -32,6 +32,7 @@
class ModeListModel;
class FontSizeChoiceListModel;
+class ServerListOrderListModel;
class Setup_Video : public SetupTab, public gcn::ActionListener,
public gcn::KeyListener
@@ -67,6 +68,7 @@ class Setup_Video : public SetupTab, public gcn::ActionListener,
ModeListModel *mModeListModel;
FontSizeChoiceListModel *mFontSizeListModel;
+ ServerListOrderListModel *mServerListOrderListModel;
gcn::Label *speechLabel;
gcn::Label *alphaLabel;
@@ -75,6 +77,7 @@ class Setup_Video : public SetupTab, public gcn::ActionListener,
gcn::Label *overlayDetailLabel;
gcn::Label *particleDetailLabel;
gcn::Label *fontSizeLabel;
+ gcn::Label *serverListOrderLabel;
gcn::ListBox *mModeList;
gcn::CheckBox *mFsCheckBox;
@@ -108,6 +111,9 @@ class Setup_Video : public SetupTab, public gcn::ActionListener,
int mFontSize;
gcn::DropDown *mFontSizeDropDown;
+ int mServerListOrder;
+ gcn::DropDown *mServerListOrderDropDown;
+
gcn::CheckBox *mDisableSDLTransparencyCheckBox;
};