UITheme namespace
#include <Runtime/UI/Public/UITheme.h>
Functions
- auto Sheet() -> std::string_view
- The theme's sheet text, compiled in when the engine was built.
-
void Apply(GGUI::
StyleTable& table) - Add the built-in sheet and the theme to
table. Call before the table is used, or while none of its documents is updating. -
void Watch(UIHost& host,
GGUI::
StyleTable& table) - Have
hostload the theme from its file in the engine's assets, and reload it on save (UIHost::AddSheetFile), so the theme can be edited with the tools open.
Variables
- std::string_view SheetName constexpr
- The name the theme's sheet has in a StyleTable.