Base class: Object
This class is used to create a graphical user interface.
Property | Type | Description |
---|---|---|
background | const shared_ptr<Widget>& | read-only pointer to top-level panel widget |
font | const shared_ptr<Font>& | read-only interface font, if specified during creation |
scale | const float& | read-only interface DPI scaling value |
LoadColorScheme | Method | loads a GUI color scheme from a JSON file |
ProcessEvent | Method | send an event to the interface for evaluation |
SetRenderLayers | Method | sets the interface render layers, for 3D graphics |
SetScale | Method | sets the interface DPI scaling value |
SetSize | Method | resizes the interface |
CreateInterface | Function | creates a new graphical user interface |