show_dialog.cpp File Reference

#include "global.hpp"
#include "config.hpp"
#include "construct_dialog.hpp"
#include "cursor.hpp"
#include "display.hpp"
#include "events.hpp"
#include "gettext.hpp"
#include "help.hpp"
#include "hotkeys.hpp"
#include "image.hpp"
#include "key.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "language.hpp"
#include "sdl_utils.hpp"
#include "tooltips.hpp"
#include "util.hpp"
#include "video.hpp"
#include "widgets/button.hpp"
#include "widgets/menu.hpp"
#include "widgets/progressbar.hpp"
#include "widgets/textbox.hpp"
#include "SDL_ttf.h"
#include <iostream>
#include <numeric>

Include dependency graph for show_dialog.cpp:

Go to the source code of this file.

Namespaces

namespace  gui

Defines

#define GETTEXT_DOMAIN   "wesnoth-lib"
#define ERR_DP   LOG_STREAM(err, display)
#define LOG_DP   LOG_STREAM(info, display)
#define ERR_G   LOG_STREAM(err, general)

Functions

bool gui::in_dialog ()
void gui::show_error_message (display &disp, std::string const &message)
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

bool is_in_dialog = false
const int gui::ButtonHPadding = 10
const int gui::ButtonVPadding = 10


Define Documentation

#define ERR_DP   LOG_STREAM(err, display)

Definition at line 46 of file show_dialog.cpp.

#define ERR_G   LOG_STREAM(err, general)

Definition at line 48 of file show_dialog.cpp.

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 17 of file show_dialog.cpp.

#define LOG_DP   LOG_STREAM(info, display)

Definition at line 47 of file show_dialog.cpp.


Variable Documentation

Definition at line 357 of file show_dialog.cpp.

bool is_in_dialog = false [static]

std::string topic_

Definition at line 358 of file show_dialog.cpp.


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs