The Battle for Wesnoth  1.19.5+dev
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 202 of file chat_log.cpp.

Constructor & Destructor Documentation

◆ controller()

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

Definition at line 205 of file chat_log.cpp.

References LOG_CHAT_LOG.

Member Function Documentation

◆ calculate_log_line_range()

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

◆ filter()

void gui2::dialogs::chat_log::controller::filter ( )
inline

Definition at line 235 of file chat_log.cpp.

References LOG_CHAT_LOG, and update_view_from_model().

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

◆ handle_copy_button_clicked()

void gui2::dialogs::chat_log::controller::handle_copy_button_clicked ( )
inline

◆ handle_page_number_changed()

void gui2::dialogs::chat_log::controller::handle_page_number_changed ( )
inline

◆ next_page()

void gui2::dialogs::chat_log::controller::next_page ( )
inline

◆ previous_page()

void gui2::dialogs::chat_log::controller::previous_page ( )
inline

◆ update_view_from_model()

void gui2::dialogs::chat_log::controller::update_view_from_model ( bool  select_last_page = false)
inline

Member Data Documentation

◆ model_

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

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