Skip to main content

systems Folder

Files Index

filehelios/engine/modules/ui/widgets/systems/_module.ixx

Module facade for UI widget systems. More...

fileMenuDisplaySystem.ixx

System for controlling menu visibility based on game state. More...

fileMenuNavigationSystem.ixx

System for handling menu navigation input. More...

fileUiStyleUpdateSystem.ixx

System for updating UI text element bounds. More...

fileUiTextBoundsUpdateSystem.ixx

System for updating UI text element bounds. More...

Description

helios::engine::modules::ui::widgets::systems

UI widget processing systems.

This namespace contains systems that process UI widget components, handling tasks such as navigation, styling, and bounds updates.

Systems

SystemDescription
MenuNavigationSystemHandles gamepad input for menu navigation
UiStyleUpdateSystemApplies visual styles based on interaction state
UiTextBoundsUpdateSystemUpdates AABB bounds when text content changes

MenuNavigationSystem

Processes gamepad Up/Down input to change menu selection and A button to activate items. Updates UiStateComponent selection state and issues UiActionCommand on activation.

UiStyleUpdateSystem

Queries entities with UiTextComponent, UiStyleComponent, and UiStateComponent. Applies appropriate colors and scales based on the current interaction state (normal, selected, disabled).

UiTextBoundsUpdateSystem

Queries entities with UiTextComponent and ModelAabbComponent. When the text component signals needsResize(), the system retrieves the new AABB from the underlying TextRenderable and updates ModelAabbComponent.



Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.