show_dialog.hpp File Reference

#include "cursor.hpp"
#include "font.hpp"
#include "network.hpp"
#include "tooltips.hpp"
#include "widgets/menu.hpp"
#include "SDL.h"
#include <string>
#include <vector>

Include dependency graph for show_dialog.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gui

Classes

struct  gui::dialog_manager
class  gui::dialog_frame
struct  gui::dialog_frame::dimension_measurements
class  gui::dialog_frame::style
class  gui::dialog_button_action
struct  gui::dialog_button_info
struct  gui::check_item
class  gui::preview_pane

Enumerations

enum  gui::DIALOG_RESULT {
  gui::DIALOG_BACK = -7, gui::DIALOG_FORWARD = -6, gui::CREATE_ITEM = -5, gui::DELETE_ITEM = -4,
  gui::ESCAPE_DIALOG = -3, gui::CONTINUE_DIALOG = -2, gui::CLOSE_DIALOG = -1
}
enum  gui::DIALOG_TYPE {
  gui::MESSAGE, gui::OK_ONLY, gui::YES_NO, gui::OK_CANCEL,
  gui::CANCEL_ONLY, gui::CLOSE_ONLY, gui::NULL_DIALOG
}

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


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