Nebula
Loading...
Searching...
No Matches
Nebula.Ui.Ui Class Reference

Detailed Description

Entry points of the UI.

Static Public Member Functions

static bool LoadFontFace (string path, bool fallback=false)
 Load a font face (ttf, otf...), fallback faces are used for glyphs other faces lack.
static Document LoadDocument (string path)
 Load a document, it stays hidden until shown. Null if it fails to load.
static DataModel CreateDataModel (string name)
 Create a data model, the name has to be unique.
static void SetDebuggerVisible (bool visible)

Properties

static bool IsActive [get]
 Whether the UI is running.

Member Function Documentation

◆ CreateDataModel()

DataModel Nebula.Ui.Ui.CreateDataModel ( string name)
inlinestatic

Create a data model, the name has to be unique.

◆ LoadDocument()

Document Nebula.Ui.Ui.LoadDocument ( string path)
inlinestatic

Load a document, it stays hidden until shown. Null if it fails to load.

◆ LoadFontFace()

bool Nebula.Ui.Ui.LoadFontFace ( string path,
bool fallback = false )
inlinestatic

Load a font face (ttf, otf...), fallback faces are used for glyphs other faces lack.

◆ SetDebuggerVisible()

void Nebula.Ui.Ui.SetDebuggerVisible ( bool visible)
inlinestatic

Property Documentation

◆ IsActive

bool Nebula.Ui.Ui.IsActive
staticget

Whether the UI is running.

At shutdown it stops before plugins unload, then documents, listeners and data models are already gone and nothing needs cleaning up


The documentation for this class was generated from the following file:
  • /github/workspace/code/addons/rmlui/nsharp/NebulaUi/Ui.cs