From 0f76be59bf9a2a085cd34bfb7a42952b870f9f60 Mon Sep 17 00:00:00 2001 From: Mateusz Kaduk Date: Sun, 27 Feb 2005 12:11:30 +0000 Subject: Video modes are taken from SDL --- src/gui/setup.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'src/gui/setup.h') 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: /** -- cgit v1.2.3-60-g2f50