Graphics v0.0.0
A simple abstraction layer for the modern graphics APIs.
载入中...
搜索中...
未找到
ui::Pin类 参考

节点上的大头针. 更多...

#include <Pin.h>

类 ui::Pin 继承关系图:
ui::Widget

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
 
- Public 成员函数 继承自 ui::Widget
 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 ()
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 ui::Widget
static uint64_t request_id ()
 
- Protected 成员函数 继承自 ui::Widget
void update_handle ()
 更新句柄. 更多...
 
- Protected 属性 继承自 ui::Widget
std::string handle_
 
std::string label_
 
uint64_t id_
 

详细描述

节点上的大头针.

成员函数说明

◆ update()

void ui::Pin::update ( )
overridevirtual

重载 ui::Widget .


该类的文档由以下文件生成: