Expand description
Vector Holo UI & Desktop Studio Widget System (ui.rs)
Re-exports the declarative vector UI primitives and layout solver from etalon_render::ui_canvas.
Modules§
Structs§
- Computed
UiRect - Resolved screen-space rectangle and scissor clip rectangle for a layout node.
- Edges
- Node
Wire - Cubic bezier connection wire between two node graph pins.
- Rect2D
- 2D bounding rectangle.
- UiLayout
Node - Single node in the zero-heap intrusive UI layout tree.
- UiLayout
Style - Layout style properties for a
UiLayoutNode(supports Flexbox + 2D CSS-Grid-lite + scissor clipping). - UiWidget
- A single UI widget element.
- Zero
Heap UiCanvas - Fixed-capacity declarative UI canvas (upgraded to 512 Flexbox/Grid widgets + MSDF text runs).
- Zero
Heap UiLayout Tree - Zero-heap two-pass (
measure+arrange) Flexbox & 2D Grid layout solver.
Enums§
- Align
Items - Flex
Direction - Justify
Content - Size
Rule - Widget
Kind - Interactive widget types.
Constants§
- COLOR_
ACCENT_ CYAN - COLOR_
GLASS_ BORDER - COLOR_
GLASS_ PANEL - Standard glassmorphic color presets.
- COLOR_
TEXT_ PRIMARY - MAX_
UI_ LAYOUT_ NODES - Maximum layout nodes supported in a single zero-heap UI layout tree.
- MAX_
UI_ TEXT_ QUADS - Maximum shaped MSDF text quads stored directly in a
ZeroHeapUiCanvas. - MAX_
UI_ WIDGETS - Maximum interactive widgets in a single local viewport frame (upgraded to 512 for Flexbox/Grid layout).
- MAX_
UI_ WIRES - Maximum connection wires in a node graph.
- NO_
UI_ NODE
Type Aliases§
- Color4f
- RGBA normalized color [r, g, b, a].
- Margin
- Padding
- UiLayout
Tree - Type alias so callers can refer to
UiLayoutTreeorZeroHeapUiLayoutTreeinterchangeably.