The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Macros | Functions
message.cpp File Reference
#include "gui/dialogs/message.hpp"
#include "gettext.hpp"
#include "gui/auxiliary/find_widget.hpp"
#include "gui/widgets/button.hpp"
#include "gui/widgets/image.hpp"
#include "gui/widgets/label.hpp"
#include "gui/widgets/settings.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::tmessage_implementation
 Helper to implement private functions without modifying the header. More...
 

Namespaces

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

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 

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

Macro Definition Documentation

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file message.cpp.