载入中...
搜索中...
未找到
UIHost.h
浏览该文件的文档.
298 bool inputTransparent = false; // explicit display-only host; all pointer/key input passes through
321 uint32_t ownerId = 0;
Vocabulary aliases for nullable and checked borrowed references.
ECS mount point for one UI panel/screen. Subclass to attach UI to game entities, e....
Definition UIHost.h:284
void setOwnerId(uint32_t id)
Attaches the host to an owner id (scene/UI ownership).
Definition UIHost.h:430
UIHostHandle handle() const noexcept
Returns this host's generation-qualified ECS handle.
Definition UIHost.h:408
Definition Component.cpp:7
WorldAnchorEdgePolicy
Policy used when a projected world-space anchor leaves the viewport.
Definition UIHost.h:123
@ Stop
@ List
@ Grid
@ None
@ Menu
@ Image
FlexWrap
Whether Flex children remain on one line or wrap onto additional lines.
Definition UIHost.h:83
@ NoWrap
@ Wrap
@ Column
@ Ignore
@ InputText
@ AppFrame
@ Group
@ Separator
@ DockArea
@ ImageButton
@ Flex
@ ScrollList
@ Card
@ Sidebar
@ NinePatchPanel
@ SameLine
@ RadialFill
@ Badge
@ Progress
@ Checkbox
@ Spacer
@ ColorPalette
@ Toolbox
@ Viewport
@ TabBar
@ Link
@ SplitPane
@ Text
@ TabContainer
@ Child
@ MenuBar
@ FilledImage
@ Switch
@ Window
@ MenuItem
@ SearchField
@ SectionHeader
@ Combo
@ PanelFrame
@ Toolbar
@ StatusBar
@ CollapsingHeader
FocusDirection
Logical focus movement understood by keyboard, gamepad and automation.
Definition UIHost.h:104
@ Previous
@ Click
@ Start
@ SpaceAround
@ SpaceBetween
@ Light
@ Inherit
@ Scroll
@ Visible
FillDirection
Direction of a linear image fill; geometry stays inside the original layout box.
Definition HudGeometry.h:11
@ BehindCamera
@ Crowded
@ OutsideViewport
@ Disabled
@ NoCamera
@ Center
@ Start
@ Stretch
WorldAnchorOverlapPolicy
Deterministic screen-space overlap policy for projected world anchors.
Definition UIHost.h:126
@ ListItem
@ TextInput
std::optional< std::reference_wrapper< T > > OptionalRef
Optional borrowed reference; it does not extend T's lifetime.
Definition BorrowedRef.h:24
Per-host logical design canvas. Margins are display logical pixels, independent of DPI.
Definition HudCanvas.h:8
Sparse reusable widget style resolved once while a retained tree is built.
Definition Theme.h:133
Unified UI design tokens (colors, geometry, typography). Applied to ImGui each frame via applyThemeTo...
Definition Theme.h:41
Definition UIHost.h:327
Non-owning node token; valid across property reconciliation, invalid after tree replacement....
Definition UIHost.h:25
Retained UI widget node (arena tree). Conceptual counterpart of eve::scene::SceneNode; built declarat...
Definition UIHost.h:151
std::string accessibilityDescription
Definition UIHost.h:190
Declarative widget description (build once / on dirty → flatten into UIHost::Tree).
Definition Widget.h:15