Public Member Functions | |
model (const vconfig &c, replay *r) | |
void | clear_chat_msg_list () |
int | count_of_pages () |
void | stream_log (std::ostringstream &s, int first, int last, bool raw=false) |
void | populate_chat_message_list (int first, int last) |
void | chat_message_list_to_clipboard (int first, int last) |
Public Attributes | |
vconfig | cfg |
tcontrol * | msg_label |
const std::vector< chat_msg > & | chat_log_history |
int | page |
tslider * | page_number |
tcontrol * | page_label |
tbutton * | previous_page |
tbutton * | next_page |
ttext_box * | filter |
tbutton * | copy_button |
Static Public Attributes | |
static const int | COUNT_PER_PAGE = 100 |
Definition at line 68 of file chat_log.cpp.
Definition at line 71 of file chat_log.cpp.
References LOG_CHAT_LOG.
Definition at line 200 of file chat_log.cpp.
References desktop::clipboard::copy_to_clipboard().
Referenced by gui2::tchat_log::controller::handle_copy_button_clicked().
|
inline |
Definition at line 99 of file chat_log.cpp.
References gui2::tcontrol::set_label().
|
inline |
Definition at line 104 of file chat_log.cpp.
Referenced by gui2::tchat_log::controller::calculate_log_line_range(), gui2::tchat_log::controller::next_page(), and gui2::tchat_log::controller::update_view_from_model().
Definition at line 193 of file chat_log.cpp.
References gui2::tcontrol::set_label().
Referenced by gui2::tchat_log::controller::update_view_from_model().
|
inline |
Definition at line 111 of file chat_log.cpp.
References font::escape_text(), preferences::get_chat_timestamp(), gui2::ttext_::get_value(), LOG_CHAT_LOG, utf8::lowercase(), and timestamp.
vconfig gui2::tchat_log::model::cfg |
Definition at line 87 of file chat_log.cpp.
const std::vector<chat_msg>& gui2::tchat_log::model::chat_log_history |
Definition at line 89 of file chat_log.cpp.
Referenced by gui2::tchat_log::controller::calculate_log_line_range(), and gui2::tchat_log::controller::update_view_from_model().
tbutton* gui2::tchat_log::model::copy_button |
Definition at line 97 of file chat_log.cpp.
Referenced by gui2::tchat_log::view::bind().
|
static |
Definition at line 91 of file chat_log.cpp.
Referenced by gui2::tchat_log::controller::calculate_log_line_range().
ttext_box* gui2::tchat_log::model::filter |
Definition at line 96 of file chat_log.cpp.
Referenced by gui2::tchat_log::view::bind().
tcontrol* gui2::tchat_log::model::msg_label |
Definition at line 88 of file chat_log.cpp.
Referenced by gui2::tchat_log::view::bind(), and gui2::tchat_log::controller::update_view_from_model().
tbutton* gui2::tchat_log::model::next_page |
Definition at line 95 of file chat_log.cpp.
Referenced by gui2::tchat_log::view::bind(), and gui2::tchat_log::controller::update_view_from_model().
int gui2::tchat_log::model::page |
Definition at line 90 of file chat_log.cpp.
Referenced by gui2::tchat_log::controller::calculate_log_line_range(), gui2::tchat_log::controller::handle_page_number_changed(), gui2::tchat_log::controller::next_page(), gui2::tchat_log::controller::previous_page(), and gui2::tchat_log::controller::update_view_from_model().
tcontrol* gui2::tchat_log::model::page_label |
Definition at line 93 of file chat_log.cpp.
Referenced by gui2::tchat_log::view::bind(), and gui2::tchat_log::controller::update_view_from_model().
tslider* gui2::tchat_log::model::page_number |
Definition at line 92 of file chat_log.cpp.
Referenced by gui2::tchat_log::view::bind(), gui2::tchat_log::controller::handle_page_number_changed(), and gui2::tchat_log::controller::update_view_from_model().
tbutton* gui2::tchat_log::model::previous_page |
Definition at line 94 of file chat_log.cpp.
Referenced by gui2::tchat_log::view::bind(), and gui2::tchat_log::controller::update_view_from_model().