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 85 of file mp_change_control.cpp.
|
inline |
Definition at line 88 of file mp_change_control.cpp.
|
inline |
Definition at line 130 of file mp_change_control.cpp.
References gui2::tlistbox::add_row(), and DBG_GUI.
Referenced by gui2::side_controller::show_nicks_list().
|
inline |
Definition at line 109 of file mp_change_control.cpp.
References gui2::tlistbox::add_row(), and DBG_GUI.
Referenced by gui2::tmp_change_control::controller::show_sides_list().
|
inline |
Definition at line 123 of file mp_change_control.cpp.
References gui2::tlistbox::clear(), and DBG_GUI.
Referenced by gui2::tmp_change_control::view::pre_show(), and gui2::side_controller::show_nicks_list().
|
inline |
Definition at line 102 of file mp_change_control.cpp.
References gui2::tlistbox::clear(), and DBG_GUI.
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 100 of file mp_change_control.cpp.
Referenced by gui2::tmp_change_control::controller::change_control(), gui2::tmp_change_control::controller::handle_nicks_list_item_clicked(), and gui2::side_controller::handle_nicks_list_selection().
tlistbox* gui2::tmp_change_control::model::nicks_list |
Definition at line 93 of file mp_change_control.cpp.
Referenced by gui2::tmp_change_control::view::bind(), gui2::tmp_change_control::controller::change_control(), 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 98 of file mp_change_control.cpp.
Referenced by gui2::tmp_change_control::controller::change_control(), and gui2::tmp_change_control::controller::handle_sides_list_item_clicked().
tlistbox* gui2::tmp_change_control::model::sides_list |
Definition at line 92 of file mp_change_control.cpp.
Referenced by gui2::tmp_change_control::view::bind(), gui2::tmp_change_control::controller::change_control(), 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().