The model is an interface defining the data to be displayed or otherwise acted upon in the user interface. More...

Public Member Functions | |
| model () | |
| void | clear_sides () |
| void | add_side (int side_num, const std::string &label) |
| void | clear_nicks () |
| void | add_nick (const std::string &nick, const std::string &label) |
Public Attributes | |
| tlistbox * | sides_list |
| tlistbox * | nicks_list |
| std::vector< int > | sides |
| std::vector< std::string > | nicks |
The model is an interface defining the data to be displayed or otherwise acted upon in the user interface.
Definition at line 82 of file mp_change_control.cpp.
| gui2::tmp_change_control::model::model | ( | ) | [inline] |
Definition at line 84 of file mp_change_control.cpp.
| void gui2::tmp_change_control::model::add_nick | ( | const std::string & | nick, | |
| const std::string & | label | |||
| ) | [inline] |
Definition at line 129 of file mp_change_control.cpp.
References gui2::tlistbox::add_row(), DBG_GUI, nicks, and nicks_list.
Referenced by gui2::side_controller::show_nicks_list().


| void gui2::tmp_change_control::model::add_side | ( | int | side_num, | |
| const std::string & | label | |||
| ) | [inline] |
Definition at line 108 of file mp_change_control.cpp.
References gui2::tlistbox::add_row(), DBG_GUI, sides, sides_list, and str_cast().
Referenced by gui2::tmp_change_control::controller::show_sides_list().


| void gui2::tmp_change_control::model::clear_nicks | ( | ) | [inline] |
Definition at line 122 of file mp_change_control.cpp.
References gui2::tlistbox::clear(), DBG_GUI, nicks, and nicks_list.
Referenced by gui2::tmp_change_control::view::pre_show(), and gui2::side_controller::show_nicks_list().


| void gui2::tmp_change_control::model::clear_sides | ( | ) | [inline] |
Definition at line 101 of file mp_change_control.cpp.
References gui2::tlistbox::clear(), DBG_GUI, sides, and sides_list.
Referenced by gui2::tmp_change_control::view::pre_show(), and gui2::tmp_change_control::controller::show_sides_list().


| std::vector<std::string> gui2::tmp_change_control::model::nicks |
Definition at line 99 of file mp_change_control.cpp.
Referenced by add_nick(), gui2::tmp_change_control::controller::change_control(), clear_nicks(), gui2::tmp_change_control::controller::handle_nicks_list_item_clicked(), and gui2::side_controller::handle_nicks_list_selection().
Definition at line 93 of file mp_change_control.cpp.
Referenced by add_nick(), gui2::tmp_change_control::view::bind(), gui2::tmp_change_control::controller::change_control(), clear_nicks(), gui2::side_controller::handle_nicks_list_selection(), and gui2::side_controller::show_nicks_list().
| std::vector<int> gui2::tmp_change_control::model::sides |
Definition at line 97 of file mp_change_control.cpp.
Referenced by add_side(), gui2::tmp_change_control::controller::change_control(), clear_sides(), and gui2::tmp_change_control::controller::handle_sides_list_item_clicked().
Definition at line 92 of file mp_change_control.cpp.
Referenced by add_side(), gui2::tmp_change_control::view::bind(), gui2::tmp_change_control::controller::change_control(), clear_sides(), gui2::tmp_change_control::controller::get_side_controller(), gui2::tmp_change_control::controller::handle_nicks_list_item_clicked(), and gui2::tmp_change_control::controller::handle_sides_list_item_clicked().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:33 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |