The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Enumerations | Functions
show_dialog.hpp File Reference
#include "cursor.hpp"
#include "floating_label.hpp"
#include "font.hpp"
#include "tooltips.hpp"
#include "video.hpp"
#include "widgets/menu.hpp"
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.

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
 

Namespaces

 gui
 General purpose widgets.
 

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 (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)
 
void gui::check_quit (CVideo &video)