Public Member Functions | |
model (const vconfig &c, const replay &r) | |
void | clear_chat_msg_list () |
int | count_of_pages () const |
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 |
styled_widget * | msg_label |
const std::vector< chat_msg > & | chat_log_history |
int | page |
slider * | page_number |
styled_widget * | page_label |
button * | previous_page |
button * | next_page |
text_box * | filter |
button * | copy_button |
Static Public Attributes | |
static const int | COUNT_PER_PAGE = 100 |
Definition at line 52 of file chat_log.cpp.
Definition at line 55 of file chat_log.cpp.
References LOG_CHAT_LOG.
|
inline |
Definition at line 191 of file chat_log.cpp.
References desktop::clipboard::copy_to_clipboard(), and s.
Referenced by gui2::dialogs::chat_log::controller::handle_copy_button_clicked().
|
inline |
Definition at line 83 of file chat_log.cpp.
References gui2::styled_widget::set_label().
|
inline |
Definition at line 88 of file chat_log.cpp.
References utf8::size().
Referenced by gui2::dialogs::chat_log::controller::calculate_log_line_range(), gui2::dialogs::chat_log::controller::next_page(), and gui2::dialogs::chat_log::controller::update_view_from_model().
|
inline |
Definition at line 177 of file chat_log.cpp.
References gui2::scrollbar_base::END, s, gui2::scrollbar_container::scroll_vertical_scrollbar(), and gui2::styled_widget::set_label().
Referenced by gui2::dialogs::chat_log::controller::update_view_from_model().
|
inline |
Definition at line 95 of file chat_log.cpp.
References font::escape_text(), prefs::get(), prefs::get_chat_timestamp(), gui2::text_box_base::get_value(), LOG_CHAT_LOG, utf8::lowercase(), s, t, and timestamp.
vconfig gui2::dialogs::chat_log::model::cfg |
Definition at line 71 of file chat_log.cpp.
const std::vector<chat_msg>& gui2::dialogs::chat_log::model::chat_log_history |
Definition at line 73 of file chat_log.cpp.
Referenced by gui2::dialogs::chat_log::controller::calculate_log_line_range(), and gui2::dialogs::chat_log::controller::update_view_from_model().
button* gui2::dialogs::chat_log::model::copy_button |
Definition at line 81 of file chat_log.cpp.
Referenced by gui2::dialogs::chat_log::view::bind().
|
static |
Definition at line 75 of file chat_log.cpp.
Referenced by gui2::dialogs::chat_log::controller::calculate_log_line_range().
text_box* gui2::dialogs::chat_log::model::filter |
Definition at line 80 of file chat_log.cpp.
Referenced by gui2::dialogs::chat_log::view::bind().
styled_widget* gui2::dialogs::chat_log::model::msg_label |
Definition at line 72 of file chat_log.cpp.
Referenced by gui2::dialogs::chat_log::view::bind(), and gui2::dialogs::chat_log::controller::update_view_from_model().
button* gui2::dialogs::chat_log::model::next_page |
Definition at line 79 of file chat_log.cpp.
Referenced by gui2::dialogs::chat_log::view::bind(), and gui2::dialogs::chat_log::controller::update_view_from_model().
int gui2::dialogs::chat_log::model::page |
Definition at line 74 of file chat_log.cpp.
Referenced by gui2::dialogs::chat_log::controller::calculate_log_line_range(), gui2::dialogs::chat_log::controller::handle_page_number_changed(), gui2::dialogs::chat_log::controller::next_page(), gui2::dialogs::chat_log::controller::previous_page(), and gui2::dialogs::chat_log::controller::update_view_from_model().
styled_widget* gui2::dialogs::chat_log::model::page_label |
Definition at line 77 of file chat_log.cpp.
Referenced by gui2::dialogs::chat_log::view::bind(), and gui2::dialogs::chat_log::controller::update_view_from_model().
slider* gui2::dialogs::chat_log::model::page_number |
Definition at line 76 of file chat_log.cpp.
Referenced by gui2::dialogs::chat_log::view::bind(), gui2::dialogs::chat_log::controller::handle_page_number_changed(), and gui2::dialogs::chat_log::controller::update_view_from_model().
button* gui2::dialogs::chat_log::model::previous_page |
Definition at line 78 of file chat_log.cpp.
Referenced by gui2::dialogs::chat_log::view::bind(), and gui2::dialogs::chat_log::controller::update_view_from_model().