Handle user interfaces.
- Command Input:
s(RootPath)
- Command Output:
v
- Command Description:
- Set the root path in Nebula's object hierarchy. Default is "/res/gui". This is where all the windows live.
- Command Input:
v
- Command Output:
s(RootPath)
- Command Description:
- Get the root path.
- Command Input:
s(RootWindow)
- Command Output:
v
- Command Description:
- Set a new root window. An empty window identifier implies the null window.
- Command Input:
v
- Command Output:
s(RootWindow)
- Command Description:
- Get current root window.
- Command Input:
s(FontName), s(TypeFace), i(Height), b(Bold), b(Italic), b(Underline)
- Command Output:
v
- Command Description:
- Add a font definition using a standard system font.
- Command Input:
s(FontName), s(FontFile), s(TypeFace), i(Height), b(Bold), b(Italic), b(Underline)
- Command Output:
v
- Command Description:
- Add a font definition using a custom font.
- Command Input:
v
- Command Output:
b(MouseOverGui)
- Command Description:
- Returns true if mouse is currently over a GUI element.
- Command Input:
s(ClassName), b(Visible)
- Command Output:
o(Window)
- Command Description:
- Create a new window of the given class.
- Command Input:
s(SkinName)
- Command Output:
o(SkinObject)
- Command Description:
- Create a new skin of the given name.
- Command Input:
o(SkinObject)
- Command Output:
v
- Command Description:
- Set the current skin by object (as returned by newskin).
- Command Input:
v
- Command Output:
o(SkinObject)
- Command Description:
- Return the current skin object.
- Command Input:
o(SkinObject)
- Command Output:
v
- Command Description:
- Set the system skin to use for the Nebula system GUI. This will be activated when ToggleSystemGui() is called.
- Command Input:
v
- Command Output:
o(SkinObject)
- Command Description:
- Return the system skin object.
- Command Input:
v
- Command Output:
v
- Command Description:
- Toggle Nebula's system GUI.
- Command Input:
s (brush name)
- Command Output:
ff (x,y size)
- Command Description:
- Computes the screen space size of a brush if a 1:1 mapping is assumed between brush texels and screen pixels.
- Command Input:
os (widget object, command string)
- Command Output:
b
- Command Description:
- Run given script to nGuiWidget.
27-Aug-04 kims created.
- Command Input:
os (widget object, event type)
- Command Output:
v
- Command Description:
- put an event to given widget object.
27-Aug-04 kims created.
- Command Input:
o(DragBoxObject)
- Command Output:
v
- Command Description:
- Set pointer to optional global nGuiDragBox object.
- Command Input:
v
- Command Output:
o(DragBoxObject)
- Command Description:
- Get pointer to optional global nGuiDragBox object.
- Command Input:
i (x size), i (y size)
- Command Output:
v
- Command Description:
- Set the gui server's display size to the given dimensions.
29-Sep-04 Rafael created.