41 void update(
const std::vector<mp::user_info>& user_info,
int focused_game);
66 std::map<const tree_view_node*, const mp::user_info*>
info_map;
std::map< const tree_view_node *, const mp::user_info * > info_map
Node-to-info mappings for easy access.
lobby_player_list_helper(decltype(user_callback) ucb)
const mp::user_info * get_selected_info() const
std::array< sub_list, 3 > player_lists
Main subsections of the player tree.
void update(const std::vector< mp::user_info > &user_info, int focused_game)
Updates the tree contents based on the given user data.
tree_view * tree
The parent tree.
std::function< void(const mp::user_info *)> user_callback
The double click callback bound to each player's tree node.
base class of top level items, the only item which needs to store the final canvases to draw on.
std::string label
What to show in the filter's drop-down list.
Main entry points of multiplayer mode.
label * label_player_count
void update_player_count_label()
This class represents the information a client has about another player.