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 (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 316 of file mp_change_control.cpp.
|
inline |
Definition at line 319 of file mp_change_control.cpp.
Definition at line 344 of file mp_change_control.cpp.
References gui2::event::connect_signal_notify_modified(), DBG_GUI, gui2::dialog_view_callback(), 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.
Definition at line 338 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().
Definition at line 332 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().
|
inline |
Definition at line 381 of file mp_change_control.cpp.
References gui2::tmp_change_control::controller::change_control(), controller_, and gui2::twindow::OK.
Definition at line 323 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().
|
private |
Definition at line 390 of file mp_change_control.cpp.
Referenced by handle_nicks_list_item_clicked(), handle_sides_list_item_clicked(), post_show(), and pre_show().
|
private |
Definition at line 389 of file mp_change_control.cpp.
Referenced by bind(), and pre_show().