The Battle for Wesnoth  1.19.7+dev
Namespaces | Macros | Variables
unit_create.cpp File Reference
#include "gui/dialogs/unit_create.hpp"
#include "gui/core/log.hpp"
#include "gui/widgets/listbox.hpp"
#include "gui/widgets/label.hpp"
#include "gui/widgets/grid.hpp"
#include "gui/widgets/menu_button.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 "gettext.hpp"
#include "units/types.hpp"
#include "utils/ci_searcher.hpp"
#include <functional>
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 std::string last_variation = ""
 
static unit_race::GENDER last_gender = unit_race::MALE
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file unit_create.cpp.

Variable Documentation

◆ last_chosen_type_id

std::string last_chosen_type_id = ""
static

Definition at line 35 of file unit_create.cpp.

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

◆ last_gender

unit_race::GENDER last_gender = unit_race::MALE
static

◆ last_variation

std::string last_variation = ""
static

Definition at line 36 of file unit_create.cpp.

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