Virtual Testbed
Ship dynamics simulator for extreme conditions
src
vtestbed
gui
SelectableGroup.hh
1
#ifndef VTESTBED_GUI_SELECTABLEGROUP_HH
2
#define VTESTBED_GUI_SELECTABLEGROUP_HH
3
4
#include <string>
5
6
#include <vtestbed/gui/Window.hh>
7
8
namespace
vtb
{
9
10
namespace
gui {
11
12
template
<
int
N>
13
class
SelectableGroup
:
public
Window
{
14
15
private
:
16
bool
* _selectables[N];
17
18
public
:
19
20
template
<
class
... Args>
21
inline
explicit
22
SelectableGroup
(Args ... args):
23
_selectables{args...} {}
24
25
void
26
draw();
27
28
};
29
30
}
31
32
}
33
34
#endif // vim:filetype=cpp
vtb::gui::SelectableGroup
Definition:
SelectableGroup.hh:13
vtb
Main namespace.
Definition:
convert.hh:9
vtb::gui::Window
Definition:
Window.hh:12
Generated by
1.8.15