The Battle for Wesnoth  1.15.1+dev
Namespaces | Macros | Functions | Variables
unit_list.cpp File Reference
#include "gui/dialogs/unit_list.hpp"
#include "gui/auxiliary/find_widget.hpp"
#include "gui/core/log.hpp"
#include "gui/dialogs/message.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/toggle_button.hpp"
#include "gui/widgets/unit_preview_pane.hpp"
#include "gui/widgets/window.hpp"
#include "display.hpp"
#include "font/text_formatting.hpp"
#include "formatter.hpp"
#include "units/map.hpp"
#include "units/ptr.hpp"
#include "units/unit.hpp"
#include "utils/functional.hpp"
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 (unit_const_ptr u, const std::string str)
 
static std::string gui2::dialogs::format_movement_string (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 14 of file unit_list.cpp.

◆ LOG_DP

#define LOG_DP   LOG_STREAM(info, log_display)

Definition at line 39 of file unit_list.cpp.

Variable Documentation

◆ log_display

lg::log_domain log_display("display")
static