62 virtual const std::string&
window_id()
const override;
Abstract base class for all modal dialogs.
Notification dialog used after saving a game or map screenshot to display information about it for th...
const std::string screenshots_dir_path_
void keypress_callback(bool &handled, const SDL_Keycode key)
virtual const std::string & window_id() const override
The ID of the window to build.
virtual void pre_show(window &window) override
Actions to be taken before showing the window.
screenshot_notification(const std::string &path, surface screenshot)
Constructor.
std::string path_
The display function.
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...