Class UIComponent

Inheritance Relationships

Base Type

Class Documentation

class UIComponent : public Component

UI component for RmlUi.

Public Functions

UIComponent(Entity &owner, const JSON::json &data)
~UIComponent()
Rml::ElementDocument *getDocument()
void setDocument(const String &path)
JSON::json getJSON() const

Get JSON representation of the component data needed to re-construct component from memory.

void draw()

Expose the component data with ImGui.