summaryrefslogtreecommitdiff
path: root/src/gui/setup.h
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2004-12-22 11:53:22 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2004-12-22 11:53:22 +0000
commit4280a5f8f16701e6fd4b3431024a77214724d207 (patch)
tree61af3aa4b73ef1b80ef084b58d184b2b0acf355f /src/gui/setup.h
parentd4b405c509b6f65df32f13df0d4be9b77e3c8fac (diff)
downloadmana-4280a5f8f16701e6fd4b3431024a77214724d207.tar.gz
mana-4280a5f8f16701e6fd4b3431024a77214724d207.tar.bz2
mana-4280a5f8f16701e6fd4b3431024a77214724d207.tar.xz
mana-4280a5f8f16701e6fd4b3431024a77214724d207.zip
Using tmw's button in setup
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;