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
6namespace ui
7{
8
9class Pin;
10
14class Link : public Widget
15{
16public:
17 Link(const Pin& start, const Pin& end);
18
19 const Pin& get_start() const noexcept;
20 const Pin& get_end() const noexcept;
21
22private:
23 const Pin& start_;
24 const Pin& end_;
25};
26
27}; // namespace ui
节点上的大头针.
Definition: Pin.h:15
Definition: Widget.h:14