The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
gui2::dialogs::chat_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, int > calculate_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 222 of file chat_log.cpp.

Constructor & Destructor Documentation

gui2::dialogs::chat_log::controller::controller ( model m)
inline

Definition at line 225 of file chat_log.cpp.

References LOG_CHAT_LOG.

Member Function Documentation

std::pair<int, int> gui2::dialogs::chat_log::controller::calculate_log_line_range ( )
inline
void gui2::dialogs::chat_log::controller::filter ( )
inline

Definition at line 258 of file chat_log.cpp.

References LOG_CHAT_LOG, and update_view_from_model().

Referenced by gui2::dialogs::chat_log::view::filter().

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

Member Data Documentation

model& gui2::dialogs::chat_log::controller::model_
private

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