summaryrefslogtreecommitdiff
path: root/src/gui/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup.h')
-rw-r--r--src/gui/setup.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/gui/setup.h b/src/gui/setup.h
index b6b83717..55e66cc5 100644
--- a/src/gui/setup.h
+++ b/src/gui/setup.h
@@ -13,13 +13,28 @@
#include <winalleg.h>
#endif
+
+/*
+ * The list model for modes list
+ */
+class ModesListModel : public gcn::ListModel {
+ public:
+ int getNumberOfElements();
+ std::string getElementAt(int i);
+};
+
+/*
+ * Setup dialog window
+ */
class Setup : public Window, public gcn::ActionListener {
private:
/* Dialog parts */
+ ModesListModel *modesListModel;
gcn::Label *displayLabel;
- gcn::Button *applyButton;
- gcn::Button *cancelButton;
-
+ gcn::ListBox *modeslist;
+ Button *applyButton;
+ Button *cancelButton;
+
/* Setup dialog */
static Setup *ptr;