Skip to main content

UiFocusComponent.ixx File

Component for tracking menu focus state. More...

Included Headers

Namespaces Index

namespacehelios
namespaceengine

Main engine module aggregating core infrastructure and game systems. More...

namespacemodules

Domain-specific components and systems. More...

namespaceui

User interface components and systems for game entities. More...

namespacewidgets

UI widget components and systems. More...

namespacecomponents

UI widget state components. More...

Classes Index

structUiFocusComponent

Tagging struct for the UI-component that currently has the focus. More...

Description

Component for tracking menu focus state.

File Listing

The file content with the documentation metadata removed is:

1/**
2 * @file UiFocusComponent.ixx
3 * @brief Component for tracking menu focus state.
4 */
5module;
6
7#include <optional>
8
9export module helios.engine.modules.ui.widgets.components.UiFocusComponent;
10
11import helios.engine.modules.ui.widgets.types.MenuId;
12
13import helios.engine.ecs.GameObject;
14
16
17 /**
18 * @brief Tagging struct for the UI-component that currently has the focus.
19 *
20 * Used to manage which UI element has focus for input handling.
21 */
22 struct UiFocusComponent {};
23
24} // namespace helios::engine::modules::ui::widgets::components

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.