|
ZenitUI
Retained-mode C++20 UI framework
|
A read-only text node backed by UIContext::textEngine. More...
Go to the source code of this file.
Classes | |
| class | ZenitUI::UI::Text |
| A read-only text node. More... | |
Functions | |
| std::shared_ptr< Text > | ZenitUI::UI::Label (std::string t) |
| Convenience factory: a Text node. | |
A read-only text node backed by UIContext::textEngine.
Wrapping, ellipsis truncation, shaping, and batched rendering are delegated to TextEngine. Ellipsis (text-overflow: ellipsis) is applied at draw time only, leaving the layout box unaffected.