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