The Battle for Wesnoth  1.15.0+dev
Namespaces | Macros | Variables
unit_create.cpp File Reference
#include "gui/dialogs/unit_create.hpp"
#include "gui/auxiliary/find_widget.hpp"
#include "gui/core/log.hpp"
#include "gui/widgets/listbox.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/button.hpp"
#include "gui/widgets/image.hpp"
#include "gui/widgets/label.hpp"
#include "gui/widgets/grid.hpp"
#include "gui/widgets/text_box.hpp"
#include "gui/widgets/toggle_button.hpp"
#include "gui/widgets/unit_preview_pane.hpp"
#include "gui/widgets/window.hpp"
#include "help/help.hpp"
#include "gettext.hpp"
#include "play_controller.hpp"
#include "units/types.hpp"
#include "utils/functional.hpp"
#include <boost/dynamic_bitset.hpp>
Include dependency graph for unit_create.cpp:

Go to the source code of this file.

Namespaces

 gui2
 Generic file dialog.
 
 gui2::dialogs
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 

Variables

static std::string last_chosen_type_id = ""
 
static unit_race::GENDER last_gender = unit_race::MALE
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file unit_create.cpp.

Variable Documentation

◆ last_chosen_type_id

std::string last_chosen_type_id = ""
static

Definition at line 39 of file unit_create.cpp.

Referenced by gui2::dialogs::unit_create::post_show().

◆ last_gender

unit_race::GENDER last_gender = unit_race::MALE
static