Boost.UI
User Interface Boost library
boost
ui
hyperlink.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_HYPERLINK_HPP
9
#define BOOST_UI_HYPERLINK_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
hyperlink
:
public
widget
27
{
28
public
:
29
hyperlink
() {}
30
32
explicit
hyperlink
(
widget
& parent,
const
uistring
& url,
const
uistring
& text)
33
{ create(parent, url, text); }
34
hyperlink
& create(
widget
& parent,
const
uistring
& url,
const
uistring
& text);
36
37
private
:
38
class
detail_impl;
39
};
40
41
}
// namespace ui
42
}
// namespace boost
43
44
#endif // BOOST_UI_HYPERLINK_HPP
boost::ui::uistring
Helper class to convert string between UI and application logic only.
Definition:
string.hpp:49
config.hpp
Configuration options.
widget.hpp
Widget class.
boost
Boost C++ libraries namespace.
Definition:
window.hpp:19
boost::ui::hyperlink
Widget that displays static text which links to an URL.
Definition:
hyperlink.hpp:26
boost::ui::widget
Base class for all widgets.
Definition:
widget.hpp:45
boost::ui::hyperlink::hyperlink
hyperlink(widget &parent, const uistring &url, const uistring &text)
Creates hyperlink widget with URL and text.
Definition:
hyperlink.hpp:32
Generated by