2
* Copyright (C) 2002-4 by the Widelands Development Team
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public License
6
* as published by the Free Software Foundation; either version 2
7
* of the License, or (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
#ifndef __S__EVENT_CONQUER_AREA_OPTION_MENU_H
21
#define __S__EVENT_CONQUER_AREA_OPTION_MENU_H
24
#include "ui_window.h"
26
class Editor_Interactive;
27
class Event_Conquer_Area;
33
* This is a modal box - The user must end this first
34
* before it can return
36
class Event_Conquer_Area_Option_Menu : public UIWindow {
38
Event_Conquer_Area_Option_Menu(Editor_Interactive*, Event_Conquer_Area*);
39
~Event_Conquer_Area_Option_Menu();
41
bool handle_mouseclick(uint btn, bool down, int mx, int my);
47
Event_Conquer_Area* m_event;
48
Editor_Interactive* m_parent;
49
UITextarea *m_player_ta, *m_area_ta, *m_x_ta, *m_y_ta;
50
UICheckbox* m_is_one_time_event, *m_enable;
52
int m_x, m_y, m_player, m_area;