Graphics v0.0.0
A simple abstraction layer for the modern graphics APIs.
|
节点上的大头针. 更多...
#include <Pin.h>
Public 类型 | |
enum class | Type { Flow , Bool , Int , Float , String , Object , Function , Delegate } |
enum class | Kind { Output , Input } |
Public 成员函数 | |
Pin (const std::string &label, Kind kind, Type type) | |
Type | get_type () const noexcept |
Kind | get_kind () const noexcept |
void | update () override |
![]() | |
Widget (const std::string &label) | |
Widget (const std::string &label, const std::string &id) | |
Widget (const Widget &) | |
void | set_label (const std::string &label) |
设置组件标签. 更多... | |
const std::string & | get_label () const noexcept |
获取组件标签. | |
uint64_t | get_id () const noexcept |
virtual void | update () |
额外继承的成员函数 | |
![]() | |
static uint64_t | request_id () |
![]() | |
void | update_handle () |
更新句柄. 更多... | |
![]() | |
std::string | handle_ |
std::string | label_ |
uint64_t | id_ |
节点上的大头针.
|
overridevirtual |
重载 ui::Widget .