The Battle for Wesnoth  1.19.7+dev
Namespaces | Macros | Functions | Variables
unit_list.cpp File Reference
#include "gui/dialogs/unit_list.hpp"
#include "gui/widgets/listbox.hpp"
#include "gui/widgets/image.hpp"
#include "gui/widgets/unit_preview_pane.hpp"
#include "gui/widgets/window.hpp"
#include "display.hpp"
#include "formatter.hpp"
#include "units/map.hpp"
#include "units/ptr.hpp"
#include "units/unit.hpp"
#include "serialization/markup.hpp"
#include <functional>
Include dependency graph for unit_list.cpp:

Go to the source code of this file.

Namespaces

 gui2
 Generic file dialog.
 
 gui2::dialogs
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define LOG_DP   LOG_STREAM(info, log_display)
 

Functions

static std::string gui2::dialogs::format_level_string (const int level)
 
static std::string gui2::dialogs::format_if_leader (const unit_const_ptr &u, const std::string &str)
 
static std::string gui2::dialogs::format_movement_string (const unit_const_ptr &u)
 
void gui2::dialogs::show_unit_list (display &gui)
 

Variables

static lg::log_domain log_display ("display")
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file unit_list.cpp.

◆ LOG_DP

#define LOG_DP   LOG_STREAM(info, log_display)

Definition at line 33 of file unit_list.cpp.

Variable Documentation

◆ log_display

lg::log_domain log_display("display") ( "display"  )
static