#include "SDL.h"
#include "../config.hpp"
#include "../construct_dialog.hpp"
#include "../display.hpp"
#include "../events.hpp"
#include "../filesystem.hpp"
#include "../game_config.hpp"
#include "../gettext.hpp"
#include "../language.hpp"
#include "../map.hpp"
#include "../mapgen.hpp"
#include "../map_create.hpp"
#include "../marked-up_text.hpp"
#include "../util.hpp"
#include "../preferences_display.hpp"
#include "../video.hpp"
#include "../widgets/slider.hpp"
#include "editor_dialogs.hpp"
Go to the source code of this file.
Namespaces | |
namespace | map_editor |
Defines | |
#define | GETTEXT_DOMAIN "wesnoth-lib" |
Functions | |
bool | map_editor::confirm_modification_disposal (display &disp) |
Notify the user that the map is changed and ask if the user wants to proceed. | |
std::string | map_editor::new_map_dialog (display &disp, const t_translation::t_terrain fill_terrain, const bool confirmation_needed, const config &gconfig) |
Show a dialog to create new map. | |
void | map_editor::preferences_dialog (display &disp, config &prefs) |
Show a dialog where the user may set the preferences used in the editor. | |
bool | map_editor::resize_dialog (display &disp, unsigned &width, unsigned &height, int &x_offset, int &y_offset, bool &do_expand) |
Show a dialog asking for the new size of the map. | |
FLIP_AXIS | map_editor::flip_dialog (display &disp) |
Variables | |
const int | map_min_height = 1 |
const int | map_min_width = 1 |
const int | map_max_height = 200 |
const int | map_max_width = 200 |
Definition in file editor_dialogs.cpp.
#define GETTEXT_DOMAIN "wesnoth-lib" |
Definition at line 20 of file editor_dialogs.cpp.
const int map_max_height = 200 [static] |
Definition at line 44 of file editor_dialogs.cpp.
Referenced by map_editor::new_map_dialog(), and map_editor::resize_dialog().
const int map_max_width = 200 [static] |
Definition at line 45 of file editor_dialogs.cpp.
Referenced by map_editor::new_map_dialog(), and map_editor::resize_dialog().
const int map_min_height = 1 [static] |
Definition at line 42 of file editor_dialogs.cpp.
Referenced by map_editor::new_map_dialog(), and map_editor::resize_dialog().
const int map_min_width = 1 [static] |
Definition at line 43 of file editor_dialogs.cpp.
Referenced by map_editor::new_map_dialog(), and map_editor::resize_dialog().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |