The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
show_dialog.cpp File Reference
#include "global.hpp"
#include "show_dialog.hpp"
#include "construct_dialog.hpp"
#include "floating_label.hpp"
#include "image.hpp"
#include "gettext.hpp"
#include "gui/core/event/handler.hpp"
#include "help/help.hpp"
#include "hotkey/command_executor.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "sdl/rect.hpp"
Include dependency graph for show_dialog.cpp:

Go to the source code of this file.

Namespaces

 gui
 General purpose widgets.
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define ERR_DP   LOG_STREAM(err, log_display)
 
#define ERR_G   LOG_STREAM(err, lg::general)
 

Functions

bool gui::in_dialog ()
 
int gui::show_dialog (CVideo &video, surface image, const std::string &caption, const std::string &message, DIALOG_TYPE type, const std::vector< std::string > *menu_items, const std::vector< preview_pane * > *preview_panes, const std::string &text_widget_label, std::string *text_widget_text, const int text_widget_max_chars, std::vector< check_item > *options, int xloc, int yloc, const dialog_frame::style *dialog_style, std::vector< dialog_button_info > *action_buttons, const menu::sorter *sorter, menu::style *menu_style)
 

Variables

static lg::log_domain log_display ("display")
 
const int gui::ButtonHPadding = 10
 
const int gui::ButtonVPadding = 10
 

Macro Definition Documentation

#define ERR_DP   LOG_STREAM(err, log_display)

Definition at line 33 of file show_dialog.cpp.

Referenced by gui::dialog_frame::draw_background().

#define ERR_G   LOG_STREAM(err, lg::general)

Definition at line 34 of file show_dialog.cpp.

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 17 of file show_dialog.cpp.

Variable Documentation

lg::log_domain log_display("display")
static