
Public Member Functions | |
| controller (model &m) | |
| void | next_page () |
| void | previous_page () |
| void | handle_page_number_changed () |
| void | update_view_from_model () |
Private Attributes | |
| model & | model_ |
Definition at line 148 of file chat_log.cpp.
| gui2::tchat_log::controller::controller | ( | model & | m | ) | [inline] |
Definition at line 150 of file chat_log.cpp.
References LOG_CHAT_LOG.
| void gui2::tchat_log::controller::handle_page_number_changed | ( | ) | [inline] |
Definition at line 181 of file chat_log.cpp.
References gui2::tslider::get_value(), LOG_CHAT_LOG, model_, gui2::tchat_log::model::page, gui2::tchat_log::model::page_number, and update_view_from_model().
Referenced by gui2::tchat_log::view::handle_page_number_changed().


| void gui2::tchat_log::controller::next_page | ( | ) | [inline] |
Definition at line 157 of file chat_log.cpp.
References gui2::tchat_log::model::count_of_pages(), LOG_CHAT_LOG, model_, gui2::tchat_log::model::page, and update_view_from_model().
Referenced by gui2::tchat_log::view::next_page().


| void gui2::tchat_log::controller::previous_page | ( | ) | [inline] |
Definition at line 169 of file chat_log.cpp.
References LOG_CHAT_LOG, model_, gui2::tchat_log::model::page, and update_view_from_model().
Referenced by gui2::tchat_log::view::previous_page().


| void gui2::tchat_log::controller::update_view_from_model | ( | ) | [inline] |
Definition at line 190 of file chat_log.cpp.
References gui2::tchat_log::model::chat_log_history, gui2::tchat_log::model::count_of_pages(), gui2::tchat_log::model::COUNT_PER_PAGE, LOG_CHAT_LOG, model_, gui2::tchat_log::model::msg_label, gui2::tchat_log::model::next_page, gui2::tchat_log::model::page, gui2::tchat_log::model::page_number, gui2::tchat_log::model::populate_chat_message_list(), gui2::tchat_log::model::previous_page, gui2::tscrollbar_::set_active(), gui2::tbutton::set_active(), gui2::tslider::set_maximum_value(), gui2::tslider::set_minimum_value(), gui2::tcontrol::set_use_markup(), and gui2::tslider::set_value().
Referenced by handle_page_number_changed(), next_page(), gui2::tchat_log::view::pre_show(), and previous_page().


model& gui2::tchat_log::controller::model_ [private] |
Definition at line 225 of file chat_log.cpp.
Referenced by handle_page_number_changed(), next_page(), previous_page(), and update_view_from_model().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:00 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |