The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
gui2::tchat_log::controller Class Reference

Public Member Functions

 controller (model &m)
 
void next_page ()
 
void previous_page ()
 
void filter ()
 
void handle_page_number_changed ()
 
std::pair< int, intcalculate_log_line_range ()
 
void update_view_from_model (bool select_last_page=false)
 
void handle_copy_button_clicked ()
 

Private Attributes

modelmodel_
 

Detailed Description

Definition at line 211 of file chat_log.cpp.

Constructor & Destructor Documentation

gui2::tchat_log::controller::controller ( model m)
inline

Definition at line 214 of file chat_log.cpp.

References LOG_CHAT_LOG.

Member Function Documentation

std::pair<int, int> gui2::tchat_log::controller::calculate_log_line_range ( )
inline
void gui2::tchat_log::controller::filter ( )
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().

void gui2::tchat_log::controller::handle_copy_button_clicked ( )
inline
void gui2::tchat_log::controller::handle_page_number_changed ( )
inline
void gui2::tchat_log::controller::next_page ( )
inline
void gui2::tchat_log::controller::previous_page ( )
inline
void gui2::tchat_log::controller::update_view_from_model ( bool  select_last_page = false)
inline

Member Data Documentation

model& gui2::tchat_log::controller::model_
private

The documentation for this class was generated from the following file: