summaryrefslogtreecommitdiff
path: root/src/gui/setup.h
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2005-02-27 12:11:30 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2005-02-27 12:11:30 +0000
commit0f76be59bf9a2a085cd34bfb7a42952b870f9f60 (patch)
treec4f6b3b57d2915feafac5799bf859175878deb0c /src/gui/setup.h
parentf847ae831e6a1cfb29a7045683e308ff668b1717 (diff)
downloadmana-0f76be59bf9a2a085cd34bfb7a42952b870f9f60.tar.gz
mana-0f76be59bf9a2a085cd34bfb7a42952b870f9f60.tar.bz2
mana-0f76be59bf9a2a085cd34bfb7a42952b870f9f60.tar.xz
mana-0f76be59bf9a2a085cd34bfb7a42952b870f9f60.zip
Video modes are taken from SDL
Diffstat (limited to 'src/gui/setup.h')
-rw-r--r--src/gui/setup.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/gui/setup.h b/src/gui/setup.h
index 6d0e8f5c..e1f28beb 100644
--- a/src/gui/setup.h
+++ b/src/gui/setup.h
@@ -43,6 +43,20 @@ class ModeListModel : public gcn::ListModel {
* Returns element from container.
*/
std::string getElementAt(int i);
+
+ /**
+ * Constructor.
+ */
+ ModeListModel();
+
+ /**
+ * Destructor.
+ */
+ virtual ~ModeListModel();
+
+ private:
+ int nmode;
+ char **mode;
};
/**
@@ -64,7 +78,9 @@ class Setup : public Window, public gcn::ActionListener {
gcn::Button *applyButton;
gcn::Button *cancelButton;
-
+ // Video selections
+ int last_sel, sel;
+
public:
/**