iv::LumaText Class Reference
Text with theme-defined font and color. More...
#include <LumaText.hpp>
Public Attributes | |
| ClientMarker | cm |
Public Attributes inherited from iv::Text | |
| ClientMarker | cm |
| DirtyAttr< std::string > | attr_text |
| DirtyAttr< ResourcePath > | attr_font |
| DirtyAttr< float > | attr_fontSize |
| DirtyAttr< float4 > | attr_color |
Public Attributes inherited from iv::Elem | |
| ClientMarker | cm |
| DirtyAttr< bool > | attr_enabled |
| DirtyAttr< float4x4 > | modelTransform |
| DirtyAttr< ShaderScissor > | scissor |
Public Attributes inherited from iv::InputNode | |
| ClientMarker | cm |
Public Attributes inherited from iv::TextSegment | |
| ClientMarker | cm |
| bool | geometry_dirty |
| DirtyAttr< FontMesh::Location > | location |
Public Attributes inherited from iv::TranslucentElem | |
| ClientMarker | cm |
| DirtyAttr< float4 > | attr_preblend |
| Enables blending in fragment shader - blends into a fixed color rather than into the current content of framebuffer. This allows us to emulate blending in static scenes without requiring specific draw order. More... | |
| DirtyAttr< bool > | attr_translucent |
| Item will be drawn as translucent - enables blending and draws after all opaque elements sorted by depth with other translucent objects. More... | |
Public Attributes inherited from iv::LumaListener | |
| ClientMarker | cm |
Protected Member Functions | |
| virtual void | LumaStyleChanged (LumaStyle const &) override |
Protected Member Functions inherited from iv::Text | |
| virtual void | first_pass_impl (ElementRenderer *) override |
| virtual void | second_pass_impl (ElementRenderer *) override |
Protected Member Functions inherited from iv::Elem | |
| virtual void | input_childDisconnect (InputNode *) override |
| virtual void | input_eachChild (std::function< void(InputNode *) > const &) override |
Protected Member Functions inherited from iv::InputNode | |
| virtual bool | input_trigger_process (InputRoot *root, Input::DeviceKey key) |
| virtual void | input_process (InputRoot *root, Input::DeviceKey key, bool &press, bool &real, bool &offspace) |
Detailed Description
Text with theme-defined font and color.
Text implementation that automatically sets font and color according to current LumaStyle theme. This needs to be put into a TextLayout to be usable in a scene graph.
Definition at line 16 of file LumaText.hpp.
Constructor & Destructor Documentation
◆ LumaText()
| iv::LumaText::LumaText | ( | Instance * | inst, |
| LumaStyleId | style_id = LumaStyleId(), |
||
| bool | monospace = false |
||
| ) |
Definition at line 6 of file LumaText.cpp.
Member Function Documentation
◆ LumaStyleChanged()
|
overrideprotectedvirtual |
Implements iv::LumaListener.
Definition at line 16 of file LumaText.cpp.
Member Data Documentation
◆ cm
| ClientMarker iv::LumaText::cm |
Definition at line 19 of file LumaText.hpp.
The documentation for this class was generated from the following files:
- ivorium_UI/LumaText.hpp
- ivorium_UI/LumaText.cpp

Public Member Functions inherited from 