53 virtual const std::string&
window_id()
const override;
A config object defines a single node in a WML file, with access to child nodes.
virtual void post_show() override
Actions to be taken after the window has been shown.
std::string selected_difficulty_
campaign_difficulty(const config &campaign)
virtual void pre_show() override
Actions to be taken before showing the window.
virtual const std::string & window_id() const override
The ID of the window to build.
std::string selected_difficulty() const
Returns the selected difficulty define after displaying.
Abstract base class for all modal dialogs.
Definitions for the interface to Wesnoth Markup Language (WML).
config generate_difficulty_config(const config &source)
Helper function to convert old difficulty markup.