Graphics v0.0.0
A simple abstraction layer for the modern graphics APIs.
|
文本标签. 更多...
#include <Label.h>
Public 成员函数 | |
Label (const std::string &label="") | |
void | set_text (const std::string &text) |
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 .