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(window &window) override
Actions to be taken after the window has been shown.
std::string selected_difficulty_
campaign_difficulty(const config &campaign)
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.
virtual void pre_show(window &window) override
Actions to be taken before showing the window.
Abstract base class for all modal dialogs.
base class of top level items, the only item which needs to store the final canvases to draw on.
Definitions for the interface to Wesnoth Markup Language (WML).
config generate_difficulty_config(const config &source)
Helper function to convert old difficulty markup.