The view is an interface that displays data (the model) and routes user commands to the controller to act upon that data. More...

Public Member Functions | |
| view () | |
| void | pre_show (CVideo &, twindow &window) |
| void | handle_sides_list_item_clicked (twindow &window) |
| void | handle_nicks_list_item_clicked (twindow &window) |
| void | bind (twindow &window) |
| void | post_show (int retval, events::menu_handler *mh) |
Private Attributes | |
| model | model_ |
| controller | controller_ |
The view is an interface that displays data (the model) and routes user commands to the controller to act upon that data.
Definition at line 306 of file mp_change_control.cpp.
| gui2::tmp_change_control::view::view | ( | ) | [inline] |
Definition at line 308 of file mp_change_control.cpp.
| void gui2::tmp_change_control::view::bind | ( | twindow & | window | ) | [inline] |
Definition at line 334 of file mp_change_control.cpp.
References gui2::event::connect_signal_notify_modified(), DBG_GUI, handle_nicks_list_item_clicked(), handle_sides_list_item_clicked(), model_, gui2::tmp_change_control::model::nicks_list, gui2::tlistbox::set_callback_value_change(), and gui2::tmp_change_control::model::sides_list.

| void gui2::tmp_change_control::view::handle_nicks_list_item_clicked | ( | twindow & | window | ) | [inline] |
Definition at line 328 of file mp_change_control.cpp.
References controller_, gui2::tmp_change_control::controller::handle_nicks_list_item_clicked(), and gui2::twindow::invalidate_layout().
Referenced by bind().


| void gui2::tmp_change_control::view::handle_sides_list_item_clicked | ( | twindow & | window | ) | [inline] |
Definition at line 322 of file mp_change_control.cpp.
References controller_, gui2::tmp_change_control::controller::handle_sides_list_item_clicked(), and gui2::twindow::invalidate_layout().
Referenced by bind().


| void gui2::tmp_change_control::view::post_show | ( | int | retval, | |
| events::menu_handler * | mh | |||
| ) | [inline] |
Definition at line 359 of file mp_change_control.cpp.
References gui2::tmp_change_control::controller::change_control(), controller_, and gui2::twindow::OK.

Definition at line 313 of file mp_change_control.cpp.
References gui2::tmp_change_control::model::clear_nicks(), gui2::tmp_change_control::model::clear_sides(), controller_, gui2::twindow::invalidate_layout(), model_, gui2::tmp_change_control::controller::show_sides_list(), and gui2::tmp_change_control::controller::update_view_from_model().

Definition at line 369 of file mp_change_control.cpp.
Referenced by handle_nicks_list_item_clicked(), handle_sides_list_item_clicked(), post_show(), and pre_show().
model gui2::tmp_change_control::view::model_ [private] |
Definition at line 368 of file mp_change_control.cpp.
Referenced by bind(), and pre_show().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:33 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |