类 | |
| struct | CreateUiWidgetRequest |
| Request for creating one widget with stable identity. 更多... | |
| class | IUiDocumentEditTarget |
| Hierarchy/layout capability consumed by UI tree and canvas tools. 更多... | |
| struct | UiContentValue |
| Renderer-neutral text and image skin authored per widget. 更多... | |
| class | UiDocumentPreviewService |
| UI-neutral preview, picking and anchor-gizmo geometry service. 更多... | |
| class | UiDocumentRuntimeBridge |
| Optional bridge publishing a UI document into a real runtime UIHost. 更多... | |
| class | UiDocumentTarget |
| Serializable UI authoring document with hierarchy and inspector capabilities. 更多... | |
| struct | UiLayoutValue |
| Renderer-neutral layout values shared by UI document hosts. 更多... | |
| struct | UiPreviewSnapshot |
| Deterministic UI layout preview used by canvas rendering and picking. 更多... | |
| struct | UiPreviewWidget |
| Computed widget rectangle in a revision-bound UI preview. 更多... | |
| struct | UiStyleValue |
| Renderer-neutral visual and box-model style authored per widget. 更多... | |
| struct | UiThemeAsset |
| One named, fully snapshotted Theme asset. 更多... | |
| class | UiThemeCatalogTarget |
| Serializable catalog of named UI themes with one active publication slot. 更多... | |
| class | UiThemePreviewService |
| Builds a Theme copy for a catalog revision without touching runtime globals. 更多... | |
| struct | UiThemePreviewSnapshot |
| Revision-bound Theme copy used by gallery hosts without mutating globalTheme. 更多... | |
| class | UiThemeRuntimePublisher |
| Publishes the active catalog theme through ui::setGlobalTheme. 更多... | |
| struct | UiWidgetSnapshot |
| Immutable widget snapshot used across editor/runtime boundaries. 更多... | |
类型定义 | |
| using | EditorStatus = editing::Status |
| using | EditorValue = editing::Value |
| using | EditorDiagnostic = editing::Diagnostic |
枚举 | |
| enum class | UiThemeBasePreset { Dark , Light , Custom } |
| Base preset used when resetting a named theme asset. 更多... | |
函数 | |
| EditorValue | themeTokensValue (const ui::Theme &theme) |
| Theme tokens value. | |
| Result< ui::Theme > | parseThemeTokens (const EditorValue &value) |
| Parse theme tokens. | |
| Result< void > | assignThemeToken (ui::Theme &theme, const PropertyPath &path, const EditorValue &value) |
| Assign theme token. | |
| EditorValue | readThemeToken (const ui::Theme &theme, const PropertyPath &path) |
| Reads theme token. | |
| PropertySchema | themeTokenSchema () |
| Theme token schema. | |
| std::vector< EditorDiagnostic > | validateThemeTokens (const ui::Theme &theme) |
| Validate theme tokens. | |
| ui::Theme | themeFromPreset (UiThemeBasePreset preset) |
| Theme from preset. | |
| std::string | presetName (UiThemeBasePreset preset) |
| Preset name. | |
| Result< UiThemeBasePreset > | parsePreset (const std::string &name) |
| Parse preset. | |
类型定义说明
◆ EditorDiagnostic
在文件 UiDocument.h 第 45 行定义.
◆ EditorStatus
在文件 UiDocument.h 第 43 行定义.
◆ EditorValue
在文件 UiDocument.h 第 44 行定义.
枚举类型说明
◆ UiThemeBasePreset
|
strong |
函数说明
◆ assignThemeToken()
| Result< void > eve::ui_editing::assignThemeToken | ( | ui::Theme & | theme, |
| const PropertyPath & | path, | ||
| const EditorValue & | value | ||
| ) |
Assign theme token.
在文件 UiThemeTokens.cpp 第 253 行定义.
引用了 number, path, theme, token, eve::UuidIdAdapter< Tag >::value() , 以及 value.
◆ parsePreset()
| Result< UiThemeBasePreset > eve::ui_editing::parsePreset | ( | const std::string & | name | ) |
◆ parseThemeTokens()
| Result< ui::Theme > eve::ui_editing::parseThemeTokens | ( | const EditorValue & | value | ) |
Parse theme tokens.
在文件 UiThemeTokens.cpp 第 209 行定义.
引用了 eve::editing::Value::getIf(), number, theme, token, validateThemeTokens() , 以及 value.
◆ presetName()
| std::string eve::ui_editing::presetName | ( | UiThemeBasePreset | preset | ) |
◆ readThemeToken()
| EditorValue eve::ui_editing::readThemeToken | ( | const ui::Theme & | theme, |
| const PropertyPath & | path | ||
| ) |
Reads theme token.
在文件 UiThemeTokens.cpp 第 299 行定义.
◆ themeFromPreset()
| ui::Theme eve::ui_editing::themeFromPreset | ( | UiThemeBasePreset | preset | ) |
Theme from preset.
在文件 UiThemeTokens.cpp 第 370 行定义.
引用了 eve::ui::Theme::dark(), Light , 以及 eve::ui::Theme::light().
被这些函数引用 eve::ui_editing::UiThemeCatalogTarget::makeCreateFromPreset() , 以及 eve::ui_editing::UiThemeCatalogTarget::makeResetToBase().
◆ themeTokenSchema()
| PropertySchema eve::ui_editing::themeTokenSchema | ( | ) |
Theme token schema.
在文件 UiThemeTokens.cpp 第 314 行定义.
引用了 eve::editing::PropertyDescriptor::category, eve::editing::PropertyDescriptor::defaultValue, eve::editing::PropertyDescriptor::displayNameKey, eve::editing::PropertyDescriptor::flags, eve::editing::PropertyDescriptor::path, eve::editing::PropertySchema::properties, token, eve::editing::PropertyDescriptor::type , 以及 eve::editing::PropertySchema::typeId.
◆ themeTokensValue()
| EditorValue eve::ui_editing::themeTokensValue | ( | const ui::Theme & | theme | ) |
◆ validateThemeTokens()
| std::vector< EditorDiagnostic > eve::ui_editing::validateThemeTokens | ( | const ui::Theme & | theme | ) |
Validate theme tokens.
在文件 UiThemeTokens.cpp 第 345 行定义.
被这些函数引用 parseThemeTokens(), eve::ui_editing::UiThemeRuntimePublisher::publish() , 以及 eve::ui_editing::UiThemeCatalogTarget::validate().