
Public Member Functions | |
| model (const vconfig &c, replay *r) | |
| void | clear_chat_msg_list () |
| std::string | replace (std::string str, const std::string &src, const std::string &dst) |
| std::string | escape (const std::string &str) |
| int | count_of_pages () |
| void | populate_chat_message_list (int first, int last) |
Public Attributes | |
| vconfig | cfg |
| tcontrol * | msg_label |
| const std::vector< chat_msg > & | chat_log_history |
| int | page |
| tslider * | page_number |
| tbutton * | previous_page |
| tbutton * | next_page |
Static Public Attributes | |
| static const int | COUNT_PER_PAGE = 1000 |
Definition at line 64 of file chat_log.cpp.
Definition at line 66 of file chat_log.cpp.
References LOG_CHAT_LOG.
| void gui2::tchat_log::model::clear_chat_msg_list | ( | ) | [inline] |
Definition at line 88 of file chat_log.cpp.
References gui2::tcontrol::set_label().

| int gui2::tchat_log::model::count_of_pages | ( | ) | [inline] |
Definition at line 111 of file chat_log.cpp.
Referenced by gui2::tchat_log::controller::next_page(), and gui2::tchat_log::controller::update_view_from_model().

| std::string gui2::tchat_log::model::escape | ( | const std::string & | str | ) | [inline] |
Definition at line 102 of file chat_log.cpp.
| void gui2::tchat_log::model::populate_chat_message_list | ( | int | first, | |
| int | last | |||
| ) | [inline] |
Definition at line 117 of file chat_log.cpp.
References chat_msg::color(), help::escape(), LOG_CHAT_LOG, chat_msg::nick(), gui2::tcontrol::set_label(), and chat_msg::text().
Referenced by gui2::tchat_log::controller::update_view_from_model().


| std::string gui2::tchat_log::model::replace | ( | std::string | str, | |
| const std::string & | src, | |||
| const std::string & | dst | |||
| ) | [inline] |
Definition at line 93 of file chat_log.cpp.
References pos.
Definition at line 79 of file chat_log.cpp.
| const std::vector<chat_msg>& gui2::tchat_log::model::chat_log_history |
Definition at line 81 of file chat_log.cpp.
Referenced by gui2::tchat_log::controller::update_view_from_model().
const int gui2::tchat_log::model::COUNT_PER_PAGE = 1000 [static] |
Definition at line 83 of file chat_log.cpp.
Referenced by gui2::tchat_log::controller::update_view_from_model().
Definition at line 80 of file chat_log.cpp.
Referenced by gui2::tchat_log::view::bind(), and gui2::tchat_log::controller::update_view_from_model().
Definition at line 86 of file chat_log.cpp.
Referenced by gui2::tchat_log::view::bind(), and gui2::tchat_log::controller::update_view_from_model().
Definition at line 82 of file chat_log.cpp.
Referenced by 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().
Definition at line 84 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().
Definition at line 85 of file chat_log.cpp.
Referenced by gui2::tchat_log::view::bind(), and gui2::tchat_log::controller::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 |