The Battle for Wesnoth  1.17.0-dev
Public Member Functions | Public Attributes | List of all members
gui2::lobby_player_list_helper::sub_list Struct Reference

Public Member Functions

 sub_list ()=default
 
 sub_list (tree_view *parent_tree, const std::string &label, const bool unfolded)
 
void update_player_count_label ()
 

Public Attributes

tree_view_noderoot
 
labellabel_player_count
 

Detailed Description

Definition at line 43 of file lobby_player_list_helper.hpp.

Constructor & Destructor Documentation

◆ sub_list() [1/2]

gui2::lobby_player_list_helper::sub_list::sub_list ( )
default

◆ sub_list() [2/2]

gui2::lobby_player_list_helper::sub_list::sub_list ( tree_view parent_tree,
const std::string &  label,
const bool  unfolded 
)

Member Function Documentation

◆ update_player_count_label()

void gui2::lobby_player_list_helper::sub_list::update_player_count_label ( )

Member Data Documentation

◆ label_player_count

label* gui2::lobby_player_list_helper::sub_list::label_player_count

Definition at line 52 of file lobby_player_list_helper.hpp.

Referenced by sub_list(), and update_player_count_label().

◆ root

tree_view_node* gui2::lobby_player_list_helper::sub_list::root

Definition at line 50 of file lobby_player_list_helper.hpp.

Referenced by sub_list(), and update_player_count_label().


The documentation for this struct was generated from the following files: