Class UserInterface
This is a controller for UI Controls. This will contain all UI elements for a state.
Inheritance
System.Object
UserInterface
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Inferno.UI
Assembly: Inferno.Desktop.dll
Syntax
public class UserInterface
Methods
| Improve this Doc View SourceAddControl(Control)
Add a Control to the UI Manager
Declaration
public void AddControl(Control control)
Parameters
Type | Name | Description |
---|---|---|
Control | control | Control to add |
Draw(Renderer)
Draw all of the Controls in the UI Manager
Declaration
public void Draw(Renderer renderer)
Parameters
Type | Name | Description |
---|---|---|
Renderer | renderer |
RemoveAllControls()
Remove all Controls from the UI Manager
Declaration
public void RemoveAllControls()
RemoveControl(Control)
Remove a Control from the UI Manager
Declaration
public void RemoveControl(Control control)
Parameters
Type | Name | Description |
---|---|---|
Control | control | Control to remove |
Update()
Update all of the Controls in the UI Manager
Declaration
public void Update()