The Battle for Wesnoth  1.19.5+dev
Namespaces | Macros | Functions
manager.cpp File Reference
#include "gui/dialogs/addon/manager.hpp"
#include "addon/info.hpp"
#include "addon/manager.hpp"
#include "addon/state.hpp"
#include "help/help.hpp"
#include "gettext.hpp"
#include "gui/dialogs/addon/license_prompt.hpp"
#include "gui/dialogs/addon/addon_auth.hpp"
#include "gui/dialogs/message.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "gui/widgets/button.hpp"
#include "gui/widgets/label.hpp"
#include "gui/widgets/menu_button.hpp"
#include "gui/widgets/multimenu_button.hpp"
#include "gui/widgets/stacked_widget.hpp"
#include "gui/widgets/drawing.hpp"
#include "gui/widgets/text_box.hpp"
#include "gui/widgets/window.hpp"
#include "preferences/preferences.hpp"
#include "serialization/string_utils.hpp"
#include "formula/string_utils.hpp"
#include "picture.hpp"
#include "language.hpp"
#include "utils/general.hpp"
#include "config.hpp"
#include <functional>
#include <set>
#include <sstream>
Include dependency graph for manager.cpp:

Go to the source code of this file.

Namespaces

 gui2
 Generic file dialog.
 
 gui2::dialogs
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 

Functions

static std::string gui2::dialogs::describe_status_verbose (const addon_tracking_info &state)
 
static std::string gui2::dialogs::format_addon_time (const std::chrono::system_clock::time_point &time)
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file manager.cpp.

Variable Documentation

◆ filtertext_

const std::vector<std::string> filtertext_

Definition at line 86 of file manager.cpp.

◆ id

std::string id

Text to match against addon_info.tags()

Definition at line 198 of file manager.cpp.

Referenced by halo::halo_impl::add(), game_config::add_color_info(), name_generator_factory::add_name_generator_from_config(), tod_manager::add_time_area(), tooltips::add_tooltip(), unit_creator::add_unit(), ng::depcheck::manager::change_era(), ng::depcheck::manager::change_scenario(), addons_client::delete_remote_addon(), events::console_handler::do_choose_level(), addons_client::download_addon(), gui2::executor::executor(), game_events::event_handlers::finish_adding_event_handler(), game_events::wml_event_pump::fire(), spirit_po::catalog< hashmap_type, pf_compiler >::form_context_index(), cave_map_generator::cave_map_generator_job::generate_chambers(), help::generate_contents(), help::generate_faction_topics(), theme::get_basic_theme_info(), prefs::get_history(), config_variable_set::get_variable_const(), gui2::window::hide(), impl_sndsrc_set(), gui2::init(), ai::configuration::init(), gui2::dialogs::message_implementation::init_button(), game_lua_kernel::intf_add_event(), game_lua_kernel::intf_add_event_simple(), game_lua_kernel::intf_add_time_area(), editor::editor_toolkit::is_active_brush(), editor::editor_palette< Item >::is_selected_bg_item(), editor::editor_palette< Item >::is_selected_fg_item(), saved_game::load_non_scenario(), help::parse_config_internal(), gui2::dialogs::addon_uninstall_list::pre_show(), prefs::progress_achievement(), game_events::wml_event_pump::raise(), team::team_info::read(), read_addons_list(), gui2::event::dispatcher::register_hotkey(), game_events::event_handlers::remove_event_handler(), display::remove_exclusive_draw(), tooltips::remove_tooltip(), halo::halo_impl::render(), ai::ai_composite::replace_aspect(), tooltips::select_active(), prefs::set_achievement(), editor::context_manager::set_addon_id(), tod_manager::set_area_id(), game_config_manager::set_enabled_addon(), synced_context::set_last_unit_id(), n_unit::id_manager::set_save_id(), editor::map_context::set_scenario_setup(), prefs::set_sub_achievement(), gui2::window::show(), gui2::window::show_non_modal(), gui2::window::show_tooltip(), gui2::swap_grid(), t_string_base::t_string_base(), gui2::timer_callback(), track_ok(), ng::depcheck::manager::try_era(), ng::depcheck::manager::try_scenario(), unit_abilities(), halo::halo_impl::update(), t_string_base::walker::update(), addons_client::upload_addon(), hotkey::wml_hotkey_record::wml_hotkey_record(), and team::team_info::write().

◆ label

std::string label

What to show in the filter's drop-down list.

Definition at line 200 of file manager.cpp.

Referenced by replay::add_label(), desktop::add_user_bookmark(), gui2::dialogs::gamestate_inspector::controller::build_stuff_list(), playsingle_controller::hotkey_handler::can_execute_command(), editor::editor_controller::change_unit_id(), savegame::clean_saves(), savegame::autosave_savegame::create_initial_filename(), default_map_generator::create_scenario(), do_replay_handle(), events::menu_handler::do_search(), display::draw_all_panels(), font::draw_floating_labels(), display::draw_label(), editor::context_manager::expand_areas_menu(), editor::context_manager::expand_open_maps_menu(), editor::context_manager::expand_sides_menu(), spirit_po::catalog_metadata::find_header_line(), font::floating_label_context::floating_label_context(), game_lua_kernel::intf_add_label(), game_lua_kernel::intf_get_label(), events::menu_handler::label_terrain(), gui2::dialogs::file_dialog::on_bookmark_add_cmd(), savegame::savegame::open_save_game(), gui2::dialogs::file_dialog::push_fileview_row(), events::menu_handler::rename_unit(), editor::editor_controller::rename_unit(), gui2::styled_widget::set_label(), editor::editor_map::set_starting_position_labels(), gui::floating_textbox::show(), mp::start_local_game_commandline(), theme::status_item::status_item(), editor::mouse_action_map_label::up_left(), font::update_floating_labels(), saved_game::update_label(), gui2::dialogs::stuff_list_adder::widget(), and map_labels::write().

◆ tooltip

std::string tooltip