15 #ifndef GUI_DIALOGS_EDITOR_RESIZE_MAP_HPP_INCLUDED
16 #define GUI_DIALOGS_EDITOR_RESIZE_MAP_HPP_INCLUDED
71 bool& copy_edge_terrain);
77 bool& copy_edge_terrain,
81 width, height, expand_direction, copy_edge_terrain)
ttoggle_button * direction_buttons_[9]
The toggle buttons show the state of expand_direction_.
int old_width_
The original width.
Template class to implement the generic field implementation.
tfield_integer * height_
The currently selected height.
void update_expand_direction(twindow &window)
base class of top level items, the only item which needs to store the final canvases to draw on ...
A class inherited from ttext_box that displays its input as stars.
virtual const std::string & window_id() const
Inherited from tdialog, implemented by REGISTER_DIALOG.
Abstract base class for all dialogs.
teditor_resize_map(int &width, int &height, EXPAND_DIRECTION &expand_direction, bool ©_edge_terrain)
Constructor.
tfield_integer * width_
The currently selected width.
EXPAND_DIRECTION & expand_direction_
The selected expansion direction.
void pre_show(twindow &window)
Inherited from tdialog.
static bool execute(int &width, int &height, EXPAND_DIRECTION &expand_direction, bool ©_edge_terrain, CVideo &video)
The execute function see tdialog for more information.
int old_height_
The original height.
GLint GLint GLint GLint GLint GLint GLsizei GLsizei height
void set_direction_icon(int index, std::string icon)
GLint GLint GLint GLint GLint GLint GLsizei width
GLsizei const GLcharARB ** string