载入中...
搜索中...
未找到
eve::ui_editing::UiThemeRuntimePublisher类 参考

Publishes the active catalog theme through ui::setGlobalTheme. 更多...

#include <UiTheme.h>

Public 成员函数

Result< void > publish (const UiThemeCatalogTarget &catalog) const
 Replace the process global theme with the catalog's active asset.
 

详细描述

Publishes the active catalog theme through ui::setGlobalTheme.

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

成员函数说明

◆ publish()

Result< void > eve::ui_editing::UiThemeRuntimePublisher::publish ( const UiThemeCatalogTarget &  catalog) const

Replace the process global theme with the catalog's active asset.

备注
Does not mutate the catalog. Failed validation leaves globalTheme unchanged.

在文件 UiThemePreview.cpp 第 40 行定义.

引用了 eve::ui_editing::UiThemeCatalogTarget::activeId(), eve::Result< T >::failure(), eve::ui_editing::UiThemeCatalogTarget::runtimeName(), eve::ui::setGlobalTheme(), eve::ui_editing::UiThemeCatalogTarget::theme() , 以及 eve::ui_editing::validateThemeTokens().

被这些函数引用 eve::ui_editor::UiThemeEditor::setActiveSelected().


该类的文档由以下文件生成: