/*
 * Copyright (C) 2002-2004, 2006-2008 by the Widelands Development Team
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */

#ifndef EDITOR_TOOL_NOISE_HEIGHT_OPTIONS_MENU_H
#define EDITOR_TOOL_NOISE_HEIGHT_OPTIONS_MENU_H

#include "editor_tool_options_menu.h"

#include "ui_basic/button.h"
#include "ui_basic/textarea.h"

struct Editor_Interactive;
struct Editor_Noise_Height_Tool;

struct Editor_Tool_Noise_Height_Options_Menu : public Editor_Tool_Options_Menu {
	Editor_Tool_Noise_Height_Options_Menu
		(Editor_Interactive         &,
		 Editor_Noise_Height_Tool   &,
		 UI::UniqueWindow::Registry &);

private:
	Editor_Noise_Height_Tool & m_noise_tool;
	UI::Textarea m_lower_label, m_upper_label;
	UI::Callback_Button<Editor_Tool_Noise_Height_Options_Menu>
		m_lower_increase, m_lower_decrease, m_upper_increase, m_upper_decrease;
	UI::Textarea m_set_label;
	UI::Callback_Button<Editor_Tool_Noise_Height_Options_Menu>
		m_setto_increase, m_setto_decrease;

	void clicked_lower_decrease();
	void clicked_lower_increase();
	void clicked_upper_decrease();
	void clicked_upper_increase();
	void clicked_setto_decrease();
	void clicked_setto_increase();
	void update();
};

#endif
