/* Copyright (C) 2007  Mikko Sysikaski <mikko.sysikaski@gmail.com>
 * This program is free software distributed under GNU General Public License
 * version 3 or (at your option) any later version.
 * No warranty of any kind is provided. See the accompanying file COPYING for details.
 */

#ifndef OPTIONSMENU_H
#define OPTIONSMENU_H

#include "varyingmenu.h"
#include "menuitems.h"
#include <utility>
#include <string>

class OptionsMenu: public VaryingMenu<OptionsMenu> {
public:
	typedef VaryingMenu<OptionsMenu> Base;
	OptionsMenu();
	
	void exec();
	void draw();

private:
	menuitems::BoolGetter m_fullscreen;
	menuitems::StringPicker m_resolutions;
	menuitems::BoolGetter m_music;
	menuitems::BoolGetter m_turnBoard;
	menuitems::BoolGetter m_topView;
	menuitems::FloatGetter<float> m_msens;
	menuitems::FloatGetter<float> m_jsens;
};

#endif
