The Battle for Wesnoth  1.19.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 44 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 ( )

Definition at line 47 of file lobby_player_list_helper.cpp.

Member Data Documentation

◆ label_player_count

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

Definition at line 53 of file lobby_player_list_helper.hpp.

Referenced by sub_list().

◆ root

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

Definition at line 51 of file lobby_player_list_helper.hpp.

Referenced by sub_list().


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