Boost.UI
User Interface Boost library
boost
ui
panel.hpp
Go to the documentation of this file.
1
// Copyright (c) 2017 Kolya Kosenko
2
3
// Distributed under the Boost Software License, Version 1.0.
4
// See http://www.boost.org/LICENSE_1_0.txt
5
7
8
#ifndef BOOST_UI_PANEL_HPP
9
#define BOOST_UI_PANEL_HPP
10
11
#include <
boost/ui/config.hpp
>
12
13
#ifdef BOOST_HAS_PRAGMA_ONCE
14
#pragma once
15
#endif
16
17
#include <
boost/ui/widget.hpp
>
18
19
namespace
boost
{
20
namespace
ui {
21
25
26
class
BOOST_UI_DECL
panel
:
public
widget
27
{
28
public
:
29
panel
() {}
30
32
explicit
panel
(
panel
& other) { create(other); }
33
explicit
panel
(
widget
& parent) { create(parent); }
34
panel
& create(
widget
& parent);
36
37
private
:
38
class
detail_impl;
39
};
40
41
}
// namespace ui
42
}
// namespace boost
43
44
#endif // BOOST_UI_PANEL_HPP
config.hpp
Configuration options.
widget.hpp
Widget class.
boost
Boost C++ libraries namespace.
Definition:
window.hpp:19
boost::ui::panel::panel
panel(panel &other)
Creates panel widget.
Definition:
panel.hpp:32
boost::ui::widget
Base class for all widgets.
Definition:
widget.hpp:45
boost::ui::panel
Widget that hosts other widgets.
Definition:
panel.hpp:26
boost::ui::panel::panel
panel(widget &parent)
Creates panel widget.
Definition:
panel.hpp:33
Generated by