37 virtual void update()
override;
40 virtual const std::string&
window_id()
const override;
Abstract base class for all modal dialogs.
Dialog to display 'The End' at the end of a campaign.
virtual void post_show(window &window) override
Actions to be taken after the window has been shown.
virtual void update() override
Displays a simple fading screen with any user-provided text.
outro(const game_classification &info)
std::string current_text_
virtual const std::string & window_id() const override
The ID of the window to build.
std::vector< std::string > text_
virtual void pre_show(window &window) override
Actions to be taken before showing the window.
base class of top level items, the only item which needs to store the final canvases to draw on.
#define DEFINE_SIMPLE_DISPLAY_WRAPPER(dialog)
Adds a bare-bones static display function to a dialog class that immediately invokes the dialogs's mo...