The Battle for Wesnoth  1.19.7+dev
Classes | Namespaces | Functions
message.hpp File Reference
#include "gui/dialogs/modal_dialog.hpp"
#include "gui/widgets/widget.hpp"
Include dependency graph for message.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gui2::dialogs::message
 Main class to show messages to the user. More...
 
struct  gui2::dialogs::message::button_status
 

Namespaces

 gui2
 Generic file dialog.
 
 gui2::dialogs
 

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...