The Battle for Wesnoth  1.19.5+dev
Namespaces | Macros | Functions
unit_preview_pane.cpp File Reference
#include "gui/widgets/unit_preview_pane.hpp"
#include "gui/core/register_widget.hpp"
#include "gui/widgets/button.hpp"
#include "gui/widgets/drawing.hpp"
#include "gui/widgets/image.hpp"
#include "gui/widgets/label.hpp"
#include "gui/widgets/tree_view.hpp"
#include "gui/widgets/tree_view_node.hpp"
#include "formatter.hpp"
#include "formula/string_utils.hpp"
#include "language.hpp"
#include "preferences/preferences.hpp"
#include "gettext.hpp"
#include "help/help.hpp"
#include "help/help_impl.hpp"
#include "play_controller.hpp"
#include "resources.hpp"
#include "serialization/markup.hpp"
#include "team.hpp"
#include "terrain/movement.hpp"
#include "terrain/type_data.hpp"
#include "units/types.hpp"
#include "units/helper.hpp"
#include "units/unit.hpp"
#include "wml_exception.hpp"
#include <functional>
Include dependency graph for unit_preview_pane.cpp:

Go to the source code of this file.

Namespaces

 gui2
 Generic file dialog.
 
 gui2::implementation
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 

Functions

static tree_view_node & gui2::add_name_tree_node (tree_view_node &header_node, const std::string &type, const t_string &label, const t_string &tooltip="")
 
static std::string gui2::get_hp_tooltip (const utils::string_map_res &res, const std::function< int(const std::string &, bool)> &get)
 
static std::string gui2::get_mp_tooltip (int total_movement, std::function< int(t_translation::terrain_code)> get)
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file unit_preview_pane.cpp.