15 #define GETTEXT_DOMAIN "wesnoth-lib"
32 const
bool title_use_markup,
34 const
bool message_use_markup,
36 : hide_title_(title.empty()), hide_image_(
image.empty())
38 register_label(
"title",
true, title, title_use_markup);
39 register_label(
"message",
true, message, message_use_markup);
40 register_image(
"image",
true,
image);
46 twidget& title = find_widget<twidget>(&window,
"title",
false);
51 twidget&
image = find_widget<twidget>(&window,
"image",
false);
60 const bool message_use_markup,
61 const bool title_use_markup,
62 const bool restore_background)
65 title, title_use_markup, message, message_use_markup, image);
74 const bool message_use_markup)
78 video,
_(
"Error"), message, image, message_use_markup);
virtual void pre_show(twindow &window)
Inherited from tdialog.
bool show(CVideo &video, const unsigned auto_close_time=0)
Shows the window.
void show_transient_error_message(CVideo &video, const std::string &message, const std::string &image, const bool message_use_markup)
Shows a transient error message to the user.
REGISTER_DIALOG(label_settings)
Shows a transient message.
void show_transient_message(CVideo &video, const std::string &title, const std::string &message, const std::string &image, const bool message_use_markup, const bool title_use_markup, const bool restore_background)
Shows a transient message to the user.
#define LOG_STREAM(level, domain)
base class of top level items, the only item which needs to store the final canvases to draw on ...
A class inherited from ttext_box that displays its input as stars.
static UNUSEDNOWARN std::string _(const char *str)
void set_restore(const bool restore)
this module manages the cache of images.
Standard logging facilities (interface).
GLsizei GLenum GLuint GLuint GLsizei char * message
GLsizei const GLcharARB ** string