24 #include <SDL2/SDL_keycode.h>
38 virtual const std::string&
window_id()
const override;
72 std::vector<savegame::save_info>
games_;
A config object defines a single node in a WML file, with access to child nodes.
A class grating read only view to a vector of config objects, viewed as one config with all children ...
void browse_button_callback()
void display_savegame_internal(const savegame::save_info &game)
Part of display_savegame that might throw a config::error if the savegame data is corrupt.
void apply_filter_text(const std::string &text)
Hides saves not matching the given filter.
field_bool * show_replay_
virtual void pre_show() override
Actions to be taken before showing the window.
game_load(const game_config_view &cache_config, savegame::load_game_metadata &data)
void key_press_callback(const SDL_Keycode key)
void evaluate_summary_string(std::stringstream &str, const config &cfg_summary)
void set_save_dir_list(menu_button &dir_list)
void delete_button_callback()
field_bool * cancel_orders_
const game_config_view & cache_config_
static bool execute(const game_config_view &cache_config, savegame::load_game_metadata &data)
std::shared_ptr< savegame::save_index_class > & save_index_manager_
std::vector< savegame::save_info > games_
void populate_game_list()
Update (both internally and visually) the list of games.
virtual const std::string & window_id() const override
The ID of the window to build.
field_bool * change_difficulty_
Abstract base class for all modal dialogs.
Specialized field class for boolean.
Filename and modification date for a file list.