ui文本
更多...
#include <dl_ui_text.h>
ui文本
在文件 dl_ui_text.h 第 25 行定义.
◆ Clone()
| Text * dl::UI::Text::Clone |
( |
| ) |
|
◆ Create()
◆ GetCoor()
| Coor * dl::UI::Text::GetCoor |
( |
| ) |
|
|
inline |
◆ GetCpt()
◆ GetText()
| gcText dl::UI::Text::GetText |
( |
| ) |
|
|
inline |
返回文本对象,注意在大小变化后,不会更新ui的元素数据
- 注解
- 优先使用SetString设置内容,或手动调用RefreshElementData
在文件 dl_ui_text.h 第 83 行定义.
◆ IsPickup()
| bool dl::UI::Text::IsPickup |
( |
| ) |
|
|
inline |
◆ Render()
| void dl::UI::Text::Render |
( |
| ) |
|
|
inline |
◆ SetElementData()
◆ SetLang()
| void dl::UI::Text::SetLang |
( |
std::string_view | tag, |
|
|
std::string_view | name ) |
|
inline |
◆ SetOrder()
| void dl::UI::Text::SetOrder |
( |
float | order | ) |
|
|
inline |
◆ SetString()
| void dl::UI::Text::SetString |
( |
std::string_view | str | ) |
|
|
inline |
该类的文档由以下文件生成: