The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Functions
message.hpp File Reference
#include "gui/dialogs/dialog.hpp"
#include "gui/widgets/control.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::tmessage
 Main class to show messages to the user. More...
 
struct  gui2::tmessage::tbutton_status
 

Namespaces

 gui2
 A class inherited from ttext_box that displays its input as stars.
 

Functions

void gui2::show_message (CVideo &video, const std::string &title, const std::string &message, const std::string &button_caption="", const bool auto_close=true, const bool message_use_markup=false)
 Shows a message to the user. More...
 
int gui2::show_message (CVideo &video, const std::string &title, const std::string &message, const tmessage::tbutton_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 (CVideo &video, const std::string &message, bool message_use_markup=false)
 Shows an error message to the user. More...