The Battle for Wesnoth
1.19.7+dev
gui
dialogs
multiplayer
player_list_helper.hpp
Go to the documentation of this file.
1
/*
2
Copyright (C) 2017 - 2024
3
Part of the Battle for Wesnoth Project https://www.wesnoth.org/
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY.
11
12
See the COPYING file for more details.
13
*/
14
15
#pragma once
16
17
#include "
config.hpp
"
18
19
namespace
gui2
20
{
21
class
listbox;
22
class
window;
23
24
class
player_list_helper
25
{
26
public
:
27
explicit
player_list_helper
(
window
*
window
);
28
29
void
update_list
(
const
config::const_child_itors
& users);
30
31
private
:
32
listbox
&
list_
;
33
};
34
35
}
// end namespace gui2
config::const_child_itors
boost::iterator_range< const_child_iterator > const_child_itors
Definition:
config.hpp:296
gui2::listbox
The listbox class.
Definition:
listbox.hpp:41
gui2::player_list_helper
Definition:
player_list_helper.hpp:25
gui2::player_list_helper::update_list
void update_list(const config::const_child_itors &users)
Definition:
player_list_helper.cpp:35
gui2::player_list_helper::list_
listbox & list_
Definition:
player_list_helper.hpp:32
gui2::player_list_helper::player_list_helper
player_list_helper(window *window)
Definition:
player_list_helper.cpp:23
gui2::window
base class of top level items, the only item which needs to store the final canvases to draw on.
Definition:
window.hpp:61
config.hpp
Definitions for the interface to Wesnoth Markup Language (WML).
gui2
Generic file dialog.
Definition:
draw_manager.hpp:21
Generated by
1.9.1