30 const bool title_use_markup,
32 const bool message_use_markup,
33 const std::string&
image);
41 virtual const std::string&
window_id()
const override;
64 const std::string&
image = std::string(),
65 const bool message_use_markup =
false,
66 const bool title_use_markup =
false);
79 const std::string&
image = std::string(),
80 const bool message_use_markup =
false);
Main class to show messages to the user.
Abstract base class for all modal dialogs.
Shows a transient message.
virtual void pre_show() override
Actions to be taken before showing the window.
virtual const std::string & window_id() const override
The ID of the window to build.
transient_message(const std::string &title, const bool title_use_markup, const std::string &message, const bool message_use_markup, const std::string &image)
#define DEFINE_SIMPLE_DISPLAY_WRAPPER(dialog)
Adds a bare-bones static display function to a dialog class that immediately invokes the dialogs's mo...
Various uncategorised dialogs.
void show_transient_error_message(const std::string &message, const std::string &image, const bool message_use_markup)
Shows a transient error message to the user.
void show_transient_message(const std::string &title, const std::string &message, const std::string &image, const bool message_use_markup, const bool title_use_markup)
Shows a transient message to the user.
Functions to load and save images from/to disk.