components Folder
Files Index
| file | helios/engine/modules/ui/layout/components/_module.ixx |
|
Module facade for UI layout primitives. More... | |
| file | NumberFormatterComponent.ixx |
|
Component that formats numeric values for UI display. More... | |
| file | TimeFormatterComponent.ixx |
|
Component that formats time values for UI display. More... | |
Description
helios::engine::modules::ui::layout::components
Layout-related UI components.
This namespace contains components used by the UI layout system for formatting and presenting data in text widgets.
Components
| Component | Description |
|---|---|
| TimeFormatterComponent | Formats elapsed or remaining time into a display string via std::vformat |
| NumberFormatterComponent | Formats arithmetic values (scores, health, etc.) into a display string via std::vformat |
TimeFormatterComponent
Holds a format string and a TimeDisplayMode. The format string receives two integer arguments (minutes, seconds). When duration is zero, the display mode falls back to Elapsed.
NumberFormatterComponent
Holds a std::vformat-compatible format string that accepts a single arithmetic argument. Used by binding systems such as Score2UiTextUpdateSystem and MaxScore2UiTextUpdateSystem to convert numeric game state into text.
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.