Public Member Functions | |
controller (model &m) | |
void | next_page () |
void | previous_page () |
void | filter () |
void | handle_page_number_changed () |
std::pair< int, int > | calculate_log_line_range () |
void | update_view_from_model (bool select_last_page=false) |
void | handle_copy_button_clicked () |
Private Attributes | |
model & | model_ |
Definition at line 211 of file chat_log.cpp.
|
inline |
Definition at line 214 of file chat_log.cpp.
References LOG_CHAT_LOG.
Definition at line 267 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_, and gui2::tchat_log::model::page.
Referenced by handle_copy_button_clicked(), and update_view_from_model().
|
inline |
Definition at line 247 of file chat_log.cpp.
References LOG_CHAT_LOG, and update_view_from_model().
Referenced by gui2::tchat_log::view::filter().
|
inline |
Definition at line 327 of file chat_log.cpp.
References calculate_log_line_range(), gui2::tchat_log::model::chat_message_list_to_clipboard(), and model_.
Referenced by gui2::tchat_log::view::handle_copy_button_clicked().
|
inline |
Definition at line 254 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().
|
inline |
Definition at line 220 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().
|
inline |
Definition at line 233 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().
|
inline |
Definition at line 288 of file chat_log.cpp.
References calculate_log_line_range(), gui2::tchat_log::model::chat_log_history, gui2::tchat_log::model::count_of_pages(), 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_label, gui2::tchat_log::model::page_number, gui2::tchat_log::model::populate_chat_message_list(), gui2::tchat_log::model::previous_page, gui2::tbutton::set_active(), gui2::tscrollbar_::set_active(), gui2::tcontrol::set_label(), gui2::tslider::set_maximum_value(), gui2::tslider::set_minimum_value(), gui2::tcontrol::set_use_markup(), and gui2::tslider::set_value().
Referenced by filter(), handle_page_number_changed(), next_page(), gui2::tchat_log::view::pre_show(), and previous_page().
|
private |
Definition at line 334 of file chat_log.cpp.
Referenced by calculate_log_line_range(), handle_copy_button_clicked(), handle_page_number_changed(), next_page(), previous_page(), and update_view_from_model().