The Battle for Wesnoth  1.15.2+dev
Namespaces | Macros | Functions | Variables
unit_recall.cpp File Reference
#include "gui/dialogs/unit_recall.hpp"
#include "font/text_formatting.hpp"
#include "gui/auxiliary/find_widget.hpp"
#include "gui/core/log.hpp"
#include "gui/dialogs/edit_text.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/text_box.hpp"
#include "gui/widgets/toggle_button.hpp"
#include "gui/widgets/unit_preview_pane.hpp"
#include "gui/widgets/window.hpp"
#include "help/help.hpp"
#include "game_board.hpp"
#include "gettext.hpp"
#include "replay_helper.hpp"
#include "play_controller.hpp"
#include "resources.hpp"
#include "synced_context.hpp"
#include "team.hpp"
#include "units/types.hpp"
#include "units/unit.hpp"
#include "units/ptr.hpp"
#include "utils/functional.hpp"
#include "whiteboard/manager.hpp"
#include <boost/dynamic_bitset.hpp>
Include dependency graph for unit_recall.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

template<typename T >
static void gui2::dialogs::dump_recall_list_to_console (const T &units)
 
static const std::string gui2::dialogs::maybe_inactive (const std::string &str, bool active)
 
static std::string gui2::dialogs::format_level_string (const int level, bool recallable)
 
static std::string gui2::dialogs::format_cost_string (int unit_recall_cost, const int team_recall_cost)
 
static std::string gui2::dialogs::get_title_suffix (int side_num)
 

Variables

static lg::log_domain log_display ("display")
 
static listbox::order_pair gui2::dialogs::sort_last {-1, listbox::SORT_NONE}
 
static listbox::order_pair gui2::dialogs::sort_default { 2, listbox::SORT_DESCENDING}
 
static const color_t gui2::dialogs::inactive_row_color (0x96, 0x96, 0x96)
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 14 of file unit_recall.cpp.

◆ LOG_DP

#define LOG_DP   LOG_STREAM(info, log_display)

Variable Documentation

◆ log_display

lg::log_domain log_display("display")
static