The Battle for Wesnoth  1.15.1+dev
Namespaces | Macros | Functions
unit_preview_pane.cpp File Reference
#include "gui/widgets/unit_preview_pane.hpp"
#include "gui/auxiliary/find_widget.hpp"
#include "gui/core/register_widget.hpp"
#include "gui/widgets/button.hpp"
#include "gui/widgets/image.hpp"
#include "gui/widgets/label.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/window.hpp"
#include "gui/widgets/tree_view.hpp"
#include "gui/widgets/tree_view_node.hpp"
#include "font/text_formatting.hpp"
#include "formatter.hpp"
#include "formula/string_utils.hpp"
#include "language.hpp"
#include "preferences/game.hpp"
#include "gettext.hpp"
#include "help/help.hpp"
#include "help/help_impl.hpp"
#include "play_controller.hpp"
#include "resources.hpp"
#include "team.hpp"
#include "terrain/movement.hpp"
#include "units/attack_type.hpp"
#include "units/types.hpp"
#include "units/helper.hpp"
#include "units/unit.hpp"
#include "utils/functional.hpp"
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, 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 14 of file unit_preview_pane.cpp.