Graphics
v0.0.0
A simple abstraction layer for the modern graphics APIs.
载入中...
搜索中...
未找到
Link.h
1
// Copyright 2022 ShenMian
2
// License(Apache-2.0)
3
4
#include "Widget.h"
5
6
namespace
ui
7
{
8
9
class
Pin;
10
14
class
Link
:
public
Widget
15
{
16
public
:
17
Link
(
const
Pin
& start,
const
Pin
& end);
18
19
const
Pin
& get_start()
const
noexcept
;
20
const
Pin
& get_end()
const
noexcept
;
21
22
private
:
23
const
Pin
& start_;
24
const
Pin
& end_;
25
};
26
27
};
// namespace ui
ui::Link
连接大头针的线.
Definition:
Link.h:15
ui::Pin
节点上的大头针.
Definition:
Pin.h:15
ui::Widget
Definition:
Widget.h:14
src
UI
Link.h
制作者
1.9.5