Boost.UI
User Interface Boost library
frame.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_FRAME_HPP
9 #define BOOST_UI_FRAME_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/window.hpp>
18 #include <boost/ui/menu.hpp>
19 #include <boost/ui/status_bar.hpp>
20 
21 namespace boost {
22 namespace ui {
23 
30 
31 class BOOST_UI_DECL frame : public window
32 {
33 public:
34  frame() {}
35 
37  explicit frame(const uistring& title)
38  { create(title); }
39  frame& create(const uistring& title);
41 
45 
49 
50 private:
51  class detail_impl;
52  detail_impl* get_impl();
53 };
54 
55 } // namespace ui
56 } // namespace boost
57 
58 #endif // BOOST_UI_FRAME_HPP
boost::ui::uistring
Helper class to convert string between UI and application logic only.
Definition: string.hpp:49
config.hpp
Configuration options.
boost::ui::frame::frame
frame(const uistring &title)
Creates frame with the title.
Definition: frame.hpp:37
boost
Boost C++ libraries namespace.
Definition: window.hpp:19
menu.hpp
Menu classes.
boost::ui::status_bar
Status bar class.
Definition: status_bar.hpp:27
status_bar.hpp
Status bar class.
boost::ui::window
Abstract top level widget that hosts other widgets.
Definition: window.hpp:53
window.hpp
Window class.
boost::ui::frame
Top level widget that hosts other widgets and supports menu bar.
Definition: frame.hpp:31
boost::ui::menu_bar
Menu bar class.
Definition: menu.hpp:41