|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include "../../core/Types.hpp"#include "../../ui/UITypes.hpp"#include "../../core/Reflection.hpp"#include "../../math/Math.hpp"

Go to the source code of this file.
Classes | |
| struct | esengine::ecs::UINode |
| UINode — the CSS box-model layout input (the CSS/Flex primary layout model). More... | |
Namespaces | |
| namespace | esengine |
| namespace | esengine::ecs |
Enumerations | |
| enum class | esengine::ecs::AlignSelf : u8 { esengine::ecs::Auto , esengine::ecs::Start , esengine::ecs::Center , esengine::ecs::End , esengine::ecs::Stretch } |
| Per-item cross-axis alignment override (CSS align-self). Lives on UINode since UINode carries the flex-item properties (the standalone FlexItem component was subsumed by UINode and removed). More... | |
| enum class | esengine::ecs::UIPositionType : u8 { esengine::ecs::Relative , esengine::ecs::Absolute } |
| Box positioning scheme. Absolute takes the node out of flex flow and places it by inset against the parent's box — this is how anchor / stretch (the old RectTransform use cases) are expressed in the CSS model: e.g. inset 0 on all edges = stretch to fill; top+right set = anchor to the top-right corner. More... | |
| enum class | esengine::ecs::UIDisplay : u8 { esengine::ecs::Flex , esengine::ecs::None } |
| CSS display. None removes the node AND its whole subtree from layout, rendering, and hit-testing — the hierarchical show/hide primitive (a closed dialog, a collapsed panel). Contrast with UIVisual.enabled, which hides only that entity's own visual. More... | |
| enum class | esengine::ecs::UIPointerEvents : u8 { esengine::ecs::Auto , esengine::ecs::None , esengine::ecs::Receive } |
| CSS pointer-events. None makes the node AND its subtree transparent to the pointer (drawn, hits pass through); Interactable.enabled silences one entity without letting hits through. Auto inherits None from an ancestor. Receive takes the pointer even there and gives it back to its subtree, as CSS pointer-events: auto on a child: a click-through overlay whose close button still answers. More... | |