载入中...
搜索中...
未找到
eve::ui_editing 命名空间参考

类

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

◆ EditorStatus

◆ EditorValue

在文件 UiDocument.h 第 44 行定义.

枚举类型说明

◆ UiThemeBasePreset

Base preset used when resetting a named theme asset.

枚举值
Dark 
Light 
Custom 

在文件 UiTheme.h 第 44 行定义.

函数说明

◆ 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.

被这些函数引用 eve::ui_editing::UiThemeCatalogTarget::makeSet().

◆ parsePreset()

Result< UiThemeBasePreset > eve::ui_editing::parsePreset ( const std::string &  name)

Parse preset.

在文件 UiThemeTokens.cpp 第 383 行定义.

引用了 Custom, Dark, Light , 以及 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)

Preset name.

在文件 UiThemeTokens.cpp 第 374 行定义.

引用了 Custom, Dark , 以及 Light.

◆ readThemeToken()

EditorValue eve::ui_editing::readThemeToken ( const ui::Theme &  theme,
const PropertyPath &  path 
)

Reads theme token.

在文件 UiThemeTokens.cpp 第 299 行定义.

引用了 path, theme , 以及 token.

被这些函数引用 eve::ui_editing::UiThemeCatalogTarget::read().

◆ themeFromPreset()

ui::Theme eve::ui_editing::themeFromPreset ( UiThemeBasePreset  preset)

◆ themeTokenSchema()

◆ themeTokensValue()

EditorValue eve::ui_editing::themeTokensValue ( const ui::Theme &  theme)

Theme tokens value.

在文件 UiThemeTokens.cpp 第 197 行定义.

引用了 object, theme , 以及 token.

◆ validateThemeTokens()

std::vector< EditorDiagnostic > eve::ui_editing::validateThemeTokens ( const ui::Theme &  theme)

Validate theme tokens.

在文件 UiThemeTokens.cpp 第 345 行定义.

引用了 color, theme , 以及 token.

被这些函数引用 parseThemeTokens(), eve::ui_editing::UiThemeRuntimePublisher::publish() , 以及 eve::ui_editing::UiThemeCatalogTarget::validate().