载入中...
搜索中...
未找到
UIHost.h
浏览该文件的文档.
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:243
void setOwnerId(uint32_t id)
Attaches the host to an owner id (scene/UI ownership).
Definition UIHost.h:386
UIHostHandle handle() const noexcept
Returns this host's generation-qualified ECS handle.
Definition UIHost.h:364
Definition Component.cpp:5
WorldAnchorEdgePolicy
Policy used when a projected world-space anchor leaves the viewport.
Definition UIHost.h:101
@ Stop
@ List
@ Grid
@ None
@ Menu
@ Image
FlexWrap
Whether Flex children remain on one line or wrap onto additional lines.
Definition UIHost.h:61
@ NoWrap
@ Wrap
@ Column
@ Ignore
@ InputText
@ Group
@ Separator
@ ImageButton
@ Flex
@ ScrollList
@ Card
@ Sidebar
@ NinePatchPanel
@ SameLine
@ Badge
@ Progress
@ Checkbox
@ Spacer
@ ColorPalette
@ Toolbox
@ Viewport
@ SplitPane
@ Text
@ Child
@ MenuBar
@ Switch
@ Window
@ MenuItem
@ SearchField
@ SectionHeader
@ Combo
@ Toolbar
@ StatusBar
@ CollapsingHeader
FocusDirection
Logical focus movement understood by keyboard, gamepad and automation.
Definition UIHost.h:82
@ Previous
@ Click
@ Start
@ SpaceAround
@ SpaceBetween
@ Light
@ Inherit
@ Scroll
@ Visible
@ BehindCamera
@ Crowded
@ OutsideViewport
@ Disabled
@ NoCamera
@ Center
@ Start
@ Stretch
WorldAnchorOverlapPolicy
Deterministic screen-space overlap policy for projected world anchors.
Definition UIHost.h:104
@ ListItem
@ TextInput
std::optional< std::reference_wrapper< T > > OptionalRef
Optional borrowed reference; it does not extend T's lifetime.
Definition BorrowedRef.h:24
Sparse reusable widget style resolved once while a retained tree is built.
Definition Theme.h:131
Unified UI design tokens (colors, geometry, typography). Applied to ImGui each frame via applyThemeTo...
Definition Theme.h:39
Definition UIHost.h:284
Retained UI widget node (arena tree). Conceptual counterpart of eve::scene::SceneNode; built declarat...
Definition UIHost.h:128
std::string accessibilityDescription
Definition UIHost.h:157
Declarative widget description (build once / on dirty → flatten into UIHost::Tree).
Definition Widget.h:15