The Battle for Wesnoth  1.19.5+dev
Classes | Namespaces | Macros | Functions
message.cpp File Reference
#include "gui/dialogs/message.hpp"
#include "gettext.hpp"
#include "gui/widgets/button.hpp"
#include "gui/widgets/image.hpp"
#include "gui/widgets/label.hpp"
#include "gui/widgets/window.hpp"
#include "log.hpp"
Include dependency graph for message.cpp:

Go to the source code of this file.

Classes

struct  gui2::dialogs::message_implementation
 Helper to implement private functions without modifying the header. More...
 

Namespaces

 gui2
 Generic file dialog.
 
 gui2::dialogs
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 

Functions

void gui2::show_message (const std::string &title, const std::string &message, const std::string &button_caption="", const bool auto_close=true, const bool message_use_markup=false, const bool title_use_markup=false)
 Shows a message to the user. More...
 
int gui2::show_message (const std::string &title, const std::string &message, const dialogs::message::button_style button_style, bool message_use_markup=false, bool title_use_markup=false)
 Shows a message to the user. More...
 
void gui2::show_error_message (const std::string &message, bool message_use_markup=false)
 Shows an error message to the user. More...
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file message.cpp.