12 class ElementDocument;
41 [[nodiscard]]
auto is_loaded() const ->
bool;
Represents a handle to an asset, providing access and management functions.
CRTP (Curiously Recurring Template Pattern) base structure for components.
Component that holds a reference to a UI document for RmlUi rendering.
asset_handle< ui_tree > asset
Path to the UI document file (HTML/RML)
void set_enabled(bool enabled)
Set the enabled state of the document.
Rml::ElementDocument * document
Shared pointer to the loaded RmlUi document.
auto is_enabled() const -> bool
Check if document is currently enabled.
auto is_loaded() const -> bool
Check if document is currently loaded.