#include <construct_dialog.hpp>
Public Types | |
enum | BUTTON_LOCATION { BUTTON_STANDARD, BUTTON_EXTRA, BUTTON_EXTRA_LEFT, BUTTON_CHECKBOX, BUTTON_CHECKBOX_LEFT, BUTTON_HELP } |
typedef dialog_frame::style | style |
Public Member Functions | |
dialog (display &disp, const std::string &title="", const std::string &message="", const DIALOG_TYPE type=MESSAGE, const style &dialog_style=default_style) | |
virtual | ~dialog () |
void | set_image (dialog_image *const img) |
void | set_image (surface surf, const std::string &caption="") |
void | set_menu (menu *const m) |
void | set_menu (const std::vector< std::string > &menu_items, menu::sorter *sorter=NULL) |
void | set_menu_items (const std::vector< std::string > &menu_items) |
void | add_pane (preview_pane *const pp) |
void | set_panes (std::vector< preview_pane * > panes) |
void | set_textbox (dialog_textbox *const box) |
void | set_textbox (const std::string &text_widget_label="", const std::string &text_widget_text="", const int text_widget_max_chars=256, const unsigned int text_box_width=font::relative_size(350)) |
void | add_button (dialog_button *const btn, BUTTON_LOCATION loc) |
void | add_button (dialog_button_info btn_info, BUTTON_LOCATION loc=BUTTON_EXTRA) |
void | add_option (const std::string &label, bool checked=false, BUTTON_LOCATION loc=BUTTON_CHECKBOX) |
virtual dimension_measurements | layout (int xloc=-1, int yloc=-1) |
void | set_layout (dimension_measurements &new_dim) |
dimension_measurements | get_layout () const |
dialog_frame & | get_frame () |
void | set_basic_behavior (DIALOG_TYPE type) |
int | show (int xloc, int yloc) |
int | show () |
int | result () const |
menu & | get_menu () |
bool | done () const |
const std::string | textbox_text () const |
dialog_textbox & | get_textbox () const |
bool | option_checked (unsigned int option_index=0) |
display & | get_display () |
Static Public Attributes | |
static const style & | default_style = dialog_frame::default_style |
static const style & | message_style = dialog_frame::message_style |
static const style | hotkeys_style |
static const int | message_font_size = font::SIZE_PLUS |
static const int | caption_font_size = font::SIZE_LARGE |
static const int | max_menu_width = -1 |
static const size_t | left_padding = font::relative_size(10) |
static const size_t | right_padding = font::relative_size(10) |
static const size_t | image_h_pad = font::relative_size(/*image_ == NULL ? 0 :*/ 10) |
static const size_t | top_padding = font::relative_size(10) |
static const size_t | bottom_padding = font::relative_size(10) |
Protected Member Functions | |
void | set_result (const int result) |
virtual void | action (dialog_process_info &dp_info) |
void | refresh () |
label & | get_message () const |
Private Types | |
typedef std::vector < preview_pane * >::iterator | pp_iterator |
typedef std::vector < preview_pane * > ::const_iterator | pp_const_iterator |
typedef std::vector < dialog_button * >::iterator | button_iterator |
typedef std::vector < dialog_button * > ::const_iterator | button_const_iterator |
typedef std::vector< std::pair < dialog_button *, BUTTON_LOCATION > >::iterator | button_pool_iterator |
typedef std::vector< std::pair < dialog_button *, BUTTON_LOCATION > >::const_iterator | button_pool_const_iterator |
Private Member Functions | |
void | clear_background () |
void | draw_frame () |
void | update_widget_positions () |
void | draw_contents () |
int | process (dialog_process_info &info) |
Private Attributes | |
display & | disp_ |
dialog_image * | image_ |
std::string | title_ |
const style & | style_ |
label * | title_widget_ |
label * | message_ |
DIALOG_TYPE | type_ |
gui::menu * | menu_ |
std::vector< preview_pane * > | preview_panes_ |
std::vector< std::pair < dialog_button *, BUTTON_LOCATION > > | button_pool_ |
std::vector< dialog_button * > | standard_buttons_ |
std::vector< dialog_button * > | extra_buttons_ |
std::vector< button * > | frame_buttons_ |
std::string | topic_ |
dialog_button * | help_button_ |
dialog_textbox * | text_widget_ |
dialog_frame * | frame_ |
dimension_measurements | dim_ |
int | result_ |
Classes | |
struct | dimension_measurements |
Definition at line 153 of file construct_dialog.hpp.
Definition at line 168 of file construct_dialog.hpp.
typedef std::vector<preview_pane *>::iterator gui::dialog::pp_iterator [private] |
Definition at line 171 of file construct_dialog.hpp.
typedef std::vector<preview_pane *>::const_iterator gui::dialog::pp_const_iterator [private] |
Definition at line 172 of file construct_dialog.hpp.
typedef std::vector<dialog_button *>::iterator gui::dialog::button_iterator [private] |
Definition at line 173 of file construct_dialog.hpp.
typedef std::vector<dialog_button *>::const_iterator gui::dialog::button_const_iterator [private] |
Definition at line 174 of file construct_dialog.hpp.
typedef std::vector< std::pair<dialog_button *, BUTTON_LOCATION> >::iterator gui::dialog::button_pool_iterator [private] |
Definition at line 175 of file construct_dialog.hpp.
typedef std::vector< std::pair<dialog_button *, BUTTON_LOCATION> >::const_iterator gui::dialog::button_pool_const_iterator [private] |
Definition at line 176 of file construct_dialog.hpp.
BUTTON_STANDARD | |
BUTTON_EXTRA | |
BUTTON_EXTRA_LEFT | |
BUTTON_CHECKBOX | |
BUTTON_CHECKBOX_LEFT | |
BUTTON_HELP |
Definition at line 155 of file construct_dialog.hpp.
gui::dialog::dialog | ( | display & | disp, | |
const std::string & | title = "" , |
|||
const std::string & | message = "" , |
|||
const DIALOG_TYPE | type = MESSAGE , |
|||
const style & | dialog_style = default_style | |||
) |
Definition at line 113 of file construct_dialog.cpp.
References _, add_button(), BUTTON_STANDARD, gui::CANCEL_ONLY, gui::CLOSE_ONLY, disp_, ERR_DP, CVideo::getx(), CVideo::gety(), gui::MESSAGE, message_, message_font_size, font::NORMAL_COLOUR, gui::OK_CANCEL, gui::OK_ONLY, screen, display::video(), font::word_wrap_text(), and gui::YES_NO.
gui::dialog::~dialog | ( | ) | [virtual] |
Definition at line 172 of file construct_dialog.cpp.
References b, button_pool_, gui::empty_menu, frame_, image_, menu_, message_, text_widget_, and title_widget_.
void gui::dialog::set_image | ( | dialog_image *const | img | ) | [inline] |
Definition at line 206 of file construct_dialog.hpp.
References image_.
Referenced by set_image(), and gui::show_dialog().
void gui::dialog::set_image | ( | surface | surf, | |
const std::string & | caption = "" | |||
) |
Definition at line 839 of file construct_dialog.cpp.
References caption_font_size, disp_, font::NORMAL_COLOUR, set_image(), and display::video().
void gui::dialog::set_menu | ( | menu *const | m | ) | [inline] |
Definition at line 208 of file construct_dialog.hpp.
References gui::empty_menu, and menu_.
Referenced by dialogs::advance_unit(), map_editor::change_language(), events::menu_handler::create_unit(), dialogs::file_dialog::file_dialog(), map_editor::flip_dialog(), map_editor::perform_set_starting_pos(), turn_info::process_network_data(), events::menu_handler::recall(), events::menu_handler::recruit(), set_menu(), set_menu_items(), gui::show_dialog(), hotkey::command_executor::show_menu(), map_editor::show_menu(), and events::menu_handler::unit_list().
void gui::dialog::set_menu | ( | const std::vector< std::string > & | menu_items, | |
menu::sorter * | sorter = NULL | |||
) |
Definition at line 256 of file construct_dialog.cpp.
References gui::menu::default_style, disp_, max_menu_width, gui::MESSAGE, set_menu(), type_, and display::video().
void gui::dialog::set_menu_items | ( | const std::vector< std::string > & | menu_items | ) |
Definition at line 262 of file construct_dialog.cpp.
References gui::empty_menu, menu_, preview_panes_, gui::menu::selection(), gui::menu::set_items(), and set_menu().
void gui::dialog::add_pane | ( | preview_pane *const | pp | ) | [inline] |
Definition at line 214 of file construct_dialog.hpp.
References preview_panes_.
Referenced by events::menu_handler::create_unit(), dialogs::load_game_dialog(), events::menu_handler::recall(), gui::show_dialog(), and events::menu_handler::unit_list().
void gui::dialog::set_panes | ( | std::vector< preview_pane * > | panes | ) | [inline] |
Definition at line 215 of file construct_dialog.hpp.
References preview_panes_.
Referenced by dialogs::advance_unit(), and events::menu_handler::recruit().
void gui::dialog::set_textbox | ( | dialog_textbox *const | box | ) | [inline] |
Definition at line 216 of file construct_dialog.hpp.
References text_widget_.
Referenced by dialogs::file_dialog::action(), dialogs::file_dialog::file_dialog(), dialogs::get_save_name(), mp::ui::handle_event(), events::menu_handler::label_terrain(), dialogs::load_game_dialog(), open_connection(), and gui::show_dialog().
void gui::dialog::set_textbox | ( | const std::string & | text_widget_label = "" , |
|
const std::string & | text_widget_text = "" , |
|||
const int | text_widget_max_chars = 256 , |
|||
const unsigned int | text_box_width = font::relative_size(350) | |||
) |
Definition at line 246 of file construct_dialog.cpp.
References disp_, message_font_size, font::NORMAL_COLOUR, gui::textbox::set_wrap(), text_widget_, and display::video().
void gui::dialog::add_button | ( | dialog_button *const | btn, | |
BUTTON_LOCATION | loc | |||
) |
Definition at line 208 of file construct_dialog.cpp.
References BUTTON_CHECKBOX, BUTTON_CHECKBOX_LEFT, BUTTON_EXTRA, BUTTON_EXTRA_LEFT, BUTTON_HELP, button_pool_, BUTTON_STANDARD, extra_buttons_, help_button_, gui::dialog_button::set_parent(), and standard_buttons_.
Referenced by add_button(), add_option(), dialog(), dialogs::file_dialog::file_dialog(), dialogs::get_save_name(), dialogs::load_game_dialog(), open_connection(), events::menu_handler::recall(), events::menu_handler::recruit(), gui::show_dialog(), and events::menu_handler::unit_list().
void gui::dialog::add_button | ( | dialog_button_info | btn_info, | |
BUTTON_LOCATION | loc = BUTTON_EXTRA | |||
) |
Definition at line 233 of file construct_dialog.cpp.
References add_button(), gui::CONTINUE_DIALOG, disp_, gui::dialog_button_info::handler, gui::dialog_button_info::label, gui::button::TYPE_PRESS, and display::video().
void gui::dialog::add_option | ( | const std::string & | label, | |
bool | checked = false , |
|||
BUTTON_LOCATION | loc = BUTTON_CHECKBOX | |||
) |
Definition at line 239 of file construct_dialog.cpp.
References add_button(), disp_, gui::button::set_check(), gui::button::TYPE_CHECK, and display::video().
Referenced by events::menu_handler::label_terrain(), dialogs::load_game_dialog(), upload_log_dialog::show_beg_dialog(), and gui::show_dialog().
dialog::dimension_measurements gui::dialog::layout | ( | int | xloc = -1 , |
|
int | yloc = -1 | |||
) | [virtual] |
Reimplemented in dialogs::file_dialog.
Definition at line 432 of file construct_dialog.cpp.
References b, gui::dialog_frame::bottom_padding(), bottom_padding, BUTTON_CHECKBOX, BUTTON_CHECKBOX_LEFT, BUTTON_EXTRA, BUTTON_EXTRA_LEFT, button_pool_, BUTTON_STANDARD, gui::ButtonHPadding, gui::dialog::dimension_measurements::buttons, gui::dialog_image::caption(), gui::dialog::dimension_measurements::caption_x, gui::dialog::dimension_measurements::caption_y, DBG_DP, disp_, extra_buttons_, get_frame(), gui::dialog_textbox::get_label(), get_menu(), gui::label::get_text(), CVideo::getSurface(), CVideo::getx(), CVideo::gety(), gui::widget::height(), image_, image_h_pad, image_width(), gui::dialog::dimension_measurements::image_x, gui::dialog::dimension_measurements::image_y, gui::dialog::dimension_measurements::interior, gui::dialog::dimension_measurements::label_x, gui::dialog::dimension_measurements::label_y, left_padding, gui::preview_pane::left_side(), gui::widget::location(), max_height, menu_, gui::dialog::dimension_measurements::menu_height, gui::dialog::dimension_measurements::menu_width, gui::dialog::dimension_measurements::menu_x, gui::dialog::dimension_measurements::menu_y, gui::dialog::dimension_measurements::message, message_, message_font_size, gui::dialog::dimension_measurements::panes, preview_panes_, rect, font::relative_size(), right_padding, screen, set_layout(), gui::preview_pane::show_above(), gui::textbox::text(), font::text_area(), text_widget_, text_width, gui::dialog::dimension_measurements::textbox, gui::dialog_frame::top_padding(), top_padding, display::video(), gui::widget::width(), gui::dialog::dimension_measurements::x, and gui::dialog::dimension_measurements::y.
Referenced by show().
void gui::dialog::set_layout | ( | dimension_measurements & | new_dim | ) |
Definition at line 687 of file construct_dialog.cpp.
References dim_, get_frame(), gui::dialog::dimension_measurements::interior, and gui::dialog_frame::layout().
Referenced by dialogs::file_dialog::layout(), and layout().
dimension_measurements gui::dialog::get_layout | ( | ) | const [inline] |
dialog_frame & gui::dialog::get_frame | ( | ) |
Definition at line 351 of file construct_dialog.cpp.
References b, disp_, frame_, frame_buttons_, help_button_, screen, standard_buttons_, style_, title_, and display::video().
Referenced by draw_frame(), layout(), process(), and set_layout().
void gui::dialog::set_basic_behavior | ( | DIALOG_TYPE | type | ) | [inline] |
Definition at line 234 of file construct_dialog.hpp.
References type_.
Referenced by dialogs::load_game_dialog(), and events::menu_handler::unit_list().
int gui::dialog::show | ( | int | xloc, | |
int | yloc | |||
) |
Definition at line 288 of file construct_dialog.cpp.
References layout(), and show().
Referenced by dialogs::file_dialog::action(), dialogs::advance_unit(), map_editor::change_language(), events::menu_handler::create_unit(), map_editor::flip_dialog(), dialogs::get_save_name(), mp::ui::handle_event(), events::menu_handler::label_terrain(), dialogs::load_game_dialog(), open_connection(), map_editor::perform_set_starting_pos(), turn_info::process_network_data(), mp::wait::process_network_data(), events::menu_handler::recall(), events::menu_handler::recruit(), upload_log_dialog::show_beg_dialog(), gui::show_dialog(), dialogs::show_file_chooser_dialog(), hotkey::command_executor::show_menu(), map_editor::show_menu(), and events::menu_handler::unit_list().
int gui::dialog::show | ( | ) |
Definition at line 294 of file construct_dialog.cpp.
References action(), clear_background(), gui::CLOSE_DIALOG, gui::dialog_process_info::cycle(), dim_, disp_, done(), draw_contents(), draw_frame(), empty_rect, ERR_DP, CVideo::faked(), gui::label::get_text(), gui::dialog::dimension_measurements::interior, layout(), LOG_DP, message_, process(), events::pump(), refresh(), result(), set_result(), title_, CVideo::update_locked(), update_widget_positions(), and display::video().
Referenced by gui::message_dialog::show(), and show().
int gui::dialog::result | ( | ) | const [inline] |
Definition at line 242 of file construct_dialog.hpp.
References result_.
Referenced by dialogs::file_dialog::action(), gui::message_dialog::action(), action(), show(), gui::show_dialog(), and dialogs::show_file_chooser_dialog().
menu & gui::dialog::get_menu | ( | ) |
Definition at line 275 of file construct_dialog.cpp.
References disp_, gui::empty_menu, empty_string_vector, events::handler::leave(), menu_, gui::menu::simple_style, and display::video().
Referenced by action(), gui::dialog_button::action(), events::menu_handler::create_unit(), dialogs::file_dialog::layout(), layout(), process(), and update_widget_positions().
bool gui::dialog::done | ( | ) | const [inline] |
Definition at line 244 of file construct_dialog.hpp.
References gui::CONTINUE_DIALOG, and result_.
Referenced by gui::message_dialog::action(), and show().
const std::string gui::dialog::textbox_text | ( | ) | const [inline] |
Definition at line 245 of file construct_dialog.hpp.
References gui::textbox::text(), and text_widget_.
Referenced by dialogs::file_dialog::action(), dialogs::get_save_name(), mp::ui::handle_event(), events::menu_handler::label_terrain(), open_connection(), and gui::show_dialog().
dialog_textbox& gui::dialog::get_textbox | ( | ) | const [inline] |
Definition at line 246 of file construct_dialog.hpp.
References text_widget_.
Referenced by dialogs::file_dialog::action(), and dialogs::file_dialog::layout().
bool gui::dialog::option_checked | ( | unsigned int | option_index = 0 |
) |
Definition at line 194 of file construct_dialog.cpp.
References b, and button_pool_.
Referenced by dialogs::get_save_name(), events::menu_handler::label_terrain(), dialogs::load_game_dialog(), upload_log_dialog::show_beg_dialog(), and gui::show_dialog().
display& gui::dialog::get_display | ( | ) | [inline] |
Definition at line 248 of file construct_dialog.hpp.
References disp_.
Referenced by dialogs::file_dialog::action().
void gui::dialog::set_result | ( | const int | result | ) | [inline, protected] |
Definition at line 251 of file construct_dialog.hpp.
References result_.
Referenced by dialogs::file_dialog::action(), gui::message_dialog::action(), action(), and show().
void gui::dialog::action | ( | dialog_process_info & | dp_info | ) | [protected, virtual] |
Reimplemented in gui::message_dialog, and dialogs::file_dialog.
Definition at line 808 of file construct_dialog.cpp.
References gui::CLOSE_DIALOG, gui::CONTINUE_DIALOG, gui::DELETE_ITEM, gui::menu::erase_item(), gui::dialog_process_info::first_time, get_menu(), gui::menu::nitems(), result(), gui::menu::selection(), and set_result().
Referenced by gui::message_dialog::action(), and show().
void gui::dialog::refresh | ( | ) | [protected] |
Definition at line 426 of file construct_dialog.cpp.
References display::delay(), disp_, and display::flip().
Referenced by show().
label& gui::dialog::get_message | ( | ) | const [inline, protected] |
Definition at line 258 of file construct_dialog.hpp.
References message_.
Referenced by dialogs::file_dialog::action(), and dialogs::file_dialog::file_dialog().
void gui::dialog::clear_background | ( | ) | [private] |
void gui::dialog::draw_frame | ( | ) | [private] |
Definition at line 370 of file construct_dialog.cpp.
References gui::dialog_frame::draw(), and get_frame().
Referenced by show().
void gui::dialog::update_widget_positions | ( | ) | [private] |
Definition at line 375 of file construct_dialog.cpp.
References b, gui::dialog::dimension_measurements::buttons, gui::dialog_image::caption(), gui::dialog::dimension_measurements::caption_x, gui::dialog::dimension_measurements::caption_y, dim_, extra_buttons_, gui::dialog_textbox::get_label(), get_menu(), help_button_, image_, gui::dialog::dimension_measurements::image_x, gui::dialog::dimension_measurements::image_y, events::handler::join(), gui::dialog::dimension_measurements::label_x, gui::dialog::dimension_measurements::label_y, menu_, gui::dialog::dimension_measurements::menu_height, gui::dialog::dimension_measurements::menu_width, gui::dialog::dimension_measurements::menu_x, gui::dialog::dimension_measurements::menu_y, gui::dialog::dimension_measurements::message, message_, gui::dialog::dimension_measurements::panes, preview_panes_, gui::textbox::set_location(), gui::widget::set_location(), gui::menu::set_max_height(), gui::menu::set_max_width(), gui::menu::set_numeric_keypress_selection(), gui::widget::set_width(), standard_buttons_, text_widget_, and gui::dialog::dimension_measurements::textbox.
Referenced by show().
void gui::dialog::draw_contents | ( | ) | [private] |
Definition at line 333 of file construct_dialog.cpp.
References disp_, gui::widget::draw(), display::flip(), gui::preview_pane::handler_members(), display::invalidate_all(), preview_panes_, and events::raise_draw_event().
Referenced by show().
int gui::dialog::process | ( | dialog_process_info & | info | ) | [private] |
Definition at line 693 of file construct_dialog.cpp.
References b, button_pool_, game_config::sounds::button_press, gui::CLOSE_DIALOG, gui::CLOSE_ONLY, gui::CONTINUE_DIALOG, gui::menu::double_clicked(), gui::dialog_process_info::double_clicked, gui::empty_menu, gui::dialog_process_info::first_time, get_frame(), get_layout(), get_menu(), gui::dialog_process_info::key, gui::dialog_process_info::key_down, gui::dialog_process_info::left_button, gui::widget::location(), menu_, gui::dialog_process_info::new_key_down, gui::dialog_process_info::new_left_button, gui::dialog_process_info::new_right_button, gui::OK_CANCEL, gui::OK_ONLY, sound::play_UI_sound(), point_in_rect(), preview_panes_, gui::menu::process(), events::raise_draw_event(), events::raise_process_event(), gui::dialog_process_info::right_button, gui::dialog_process_info::selection, gui::menu::selection(), standard_buttons_, text_widget_, type_, and gui::YES_NO.
Referenced by show().
const dialog::style & gui::dialog::default_style = dialog_frame::default_style [static] |
Definition at line 181 of file construct_dialog.hpp.
Referenced by events::menu_handler::recall(), events::menu_handler::recruit(), and gui::show_dialog().
const dialog::style & gui::dialog::message_style = dialog_frame::message_style [static] |
Definition at line 182 of file construct_dialog.hpp.
const dialog::style gui::dialog::hotkeys_style [static] |
Definition at line 183 of file construct_dialog.hpp.
Referenced by hotkey::command_executor::show_menu(), and map_editor::show_menu().
const int gui::dialog::message_font_size = font::SIZE_PLUS [static] |
Definition at line 184 of file construct_dialog.hpp.
Referenced by dialog(), layout(), and set_textbox().
const int gui::dialog::caption_font_size = font::SIZE_LARGE [static] |
const int gui::dialog::max_menu_width = -1 [static] |
Definition at line 186 of file construct_dialog.hpp.
Referenced by set_menu(), and gui::show_dialog().
const size_t gui::dialog::left_padding = font::relative_size(10) [static] |
const size_t gui::dialog::right_padding = font::relative_size(10) [static] |
const size_t gui::dialog::image_h_pad = font::relative_size(/*image_ == NULL ? 0 :*/ 10) [static] |
const size_t gui::dialog::top_padding = font::relative_size(10) [static] |
const size_t gui::dialog::bottom_padding = font::relative_size(10) [static] |
display& gui::dialog::disp_ [private] |
Definition at line 270 of file construct_dialog.hpp.
Referenced by add_button(), add_option(), dialog(), draw_contents(), get_display(), get_frame(), get_menu(), layout(), refresh(), set_image(), set_menu(), set_textbox(), and show().
dialog_image* gui::dialog::image_ [private] |
Definition at line 271 of file construct_dialog.hpp.
Referenced by layout(), set_image(), update_widget_positions(), and ~dialog().
std::string gui::dialog::title_ [private] |
const style& gui::dialog::style_ [private] |
label* gui::dialog::title_widget_ [private] |
label * gui::dialog::message_ [private] |
Definition at line 274 of file construct_dialog.hpp.
Referenced by dialog(), get_message(), layout(), show(), update_widget_positions(), and ~dialog().
DIALOG_TYPE gui::dialog::type_ [private] |
Definition at line 275 of file construct_dialog.hpp.
Referenced by process(), set_basic_behavior(), and set_menu().
gui::menu* gui::dialog::menu_ [private] |
Definition at line 276 of file construct_dialog.hpp.
Referenced by get_menu(), layout(), process(), set_menu(), set_menu_items(), update_widget_positions(), and ~dialog().
std::vector<preview_pane*> gui::dialog::preview_panes_ [private] |
Definition at line 277 of file construct_dialog.hpp.
Referenced by add_pane(), draw_contents(), layout(), process(), set_menu_items(), set_panes(), and update_widget_positions().
std::vector< std::pair<dialog_button*,BUTTON_LOCATION> > gui::dialog::button_pool_ [private] |
Definition at line 278 of file construct_dialog.hpp.
Referenced by add_button(), layout(), option_checked(), process(), and ~dialog().
std::vector<dialog_button*> gui::dialog::standard_buttons_ [private] |
Definition at line 279 of file construct_dialog.hpp.
Referenced by add_button(), get_frame(), process(), and update_widget_positions().
std::vector<dialog_button*> gui::dialog::extra_buttons_ [private] |
Definition at line 280 of file construct_dialog.hpp.
Referenced by add_button(), layout(), and update_widget_positions().
std::vector<button*> gui::dialog::frame_buttons_ [private] |
std::string gui::dialog::topic_ [private] |
Definition at line 282 of file construct_dialog.hpp.
dialog_button* gui::dialog::help_button_ [private] |
Definition at line 283 of file construct_dialog.hpp.
Referenced by add_button(), get_frame(), and update_widget_positions().
dialog_textbox* gui::dialog::text_widget_ [private] |
Definition at line 284 of file construct_dialog.hpp.
Referenced by get_textbox(), layout(), process(), set_textbox(), textbox_text(), update_widget_positions(), and ~dialog().
dialog_frame* gui::dialog::frame_ [private] |
Definition at line 285 of file construct_dialog.hpp.
Referenced by clear_background(), get_frame(), and ~dialog().
dimension_measurements gui::dialog::dim_ [private] |
Definition at line 286 of file construct_dialog.hpp.
Referenced by get_layout(), set_layout(), show(), and update_widget_positions().
int gui::dialog::result_ [private] |
Definition at line 287 of file construct_dialog.hpp.
Referenced by done(), result(), and set_result().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |