41 void update(
const std::vector<mp::user_info>& user_info,
int focused_game);
49 void update_player_count_label();
66 std::map<const tree_view_node*, const mp::user_info*>
info_map;
tree_view * tree
The parent tree.
lobby_player_list_helper(decltype(user_callback) ucb)
A label displays a text, the text can be wrapped but no scrollbars are provided.
Main entry points of multiplayer mode.
std::map< const tree_view_node *, const mp::user_info * > info_map
Node-to-info mappings for easy access.
struct utils::detail::formula_initer init
std::string label
What to show in the filter's drop-down list.
A tree view is a control that holds several items of the same or different types. ...
std::array< sub_list, 3 > player_lists
Main subsections of the player tree.
std::function< void(const mp::user_info *)> user_callback
The double click callback bound to each player's tree node.
This class represents the information a client has about another player.
label * label_player_count
base class of top level items, the only item which needs to store the final canvases to draw on...