Namespaces | Defines | Functions | Variables

show_dialog.cpp File Reference

#include "global.hpp"
#include "display.hpp"
#include "gettext.hpp"
#include "gui/auxiliary/event/handler.hpp"
#include "help.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
Include dependency graph for show_dialog.cpp:

Go to the source code of this file.

Namespaces

namespace  gui
 

General purpose widgets.


Defines

#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 (display &screen, 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

Define Documentation

#define ERR_DP   LOG_STREAM(err, log_display)

Definition at line 29 of file show_dialog.cpp.

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

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

Definition at line 30 of file show_dialog.cpp.

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 18 of file show_dialog.cpp.


Variable Documentation

lg::log_domain log_display("display") [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:10:18 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs