39 virtual void update()
override;
42 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 update() override
Displays a simple fading screen with any user-provided text.
virtual void pre_show() override
Actions to be taken before showing the window.
std::chrono::milliseconds duration_
outro(const game_classification &info)
std::string current_text_
virtual void post_show() override
Actions to be taken after the window has been shown.
virtual const std::string & window_id() const override
The ID of the window to build.
std::vector< std::string > text_
#define DEFINE_SIMPLE_DISPLAY_WRAPPER(dialog)
Adds a bare-bones static display function to a dialog class that immediately invokes the dialogs's mo...