Space Engineers
|
Public Member Functions | |
MyTerminalControlLabel (MyStringId label) | |
Public Member Functions inherited from Sandbox.Game.Gui.MyTerminalControl< TBlock > | |
delegate void | WriterDelegate (TBlock block, StringBuilder writeTo) |
MyGuiControlBase | GetGuiControl () |
Returns control to show in terminal. When control does not exists yet, it creates it More... | |
MyTerminalControl (string id) | |
void | UpdateVisual () |
This updates a control that is currently displayed, allowing you to refresh it's state More... | |
void | RedrawControl () |
Recreates the control GUI. This allows you to update the Title of some controls. More... | |
Public Attributes | |
MyStringId | Label |
Public Attributes inherited from Sandbox.Game.Gui.MyTerminalControl< TBlock > | |
readonly string | Id |
Func< TBlock, bool > | Enabled = (b) => true |
Func< TBlock, bool > | Visible = (b) => true |
Protected Member Functions | |
override MyGuiControlBase | CreateGui () |
Called when app needs GUI (not on DS) More... | |
Protected Member Functions inherited from Sandbox.Game.Gui.MyTerminalControl< TBlock > | |
virtual void | OnUpdateVisual () |
Called when GUI needs update More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Sandbox.Game.Gui.MyTerminalControl< TBlock > | |
static readonly float | PREFERRED_CONTROL_WIDTH = 400f / MyGuiConstants.GUI_OPTIMAL_SIZE.X |
static readonly MyTerminalBlock[] | Empty = new MyTerminalBlock[0] |
Properties inherited from Sandbox.Game.Gui.MyTerminalControl< TBlock > | |
ArrayOfTypeEnumerator< MyTerminalBlock, ArrayEnumerator< MyTerminalBlock >, TBlock > | TargetBlocks [get] |
TBlock | FirstBlock [get] |
bool | SupportsMultipleBlocks [get, set] |
MyTerminalAction< TBlock >[] | Actions [get, protected set] |
Properties inherited from Sandbox.Game.Gui.ITerminalControl | |
string | Id [get] |
bool | SupportsMultipleBlocks [get] |
If control supports multiple blocks The only control which does not is Name editor control More... | |
MyTerminalBlock[] | TargetBlocks [get, set] |
Sets blocks which are controlled now More... | |
ITerminalAction[] | Actions [get] |
Returns terminal actions More... | |
Properties inherited from Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControl | |
string | Id [get] |
Identifier of control More... | |
Func< IMyTerminalBlock, bool > | Enabled [set] |
Allows you to set if the control is enabled More... | |
Func< IMyTerminalBlock, bool > | Visible [set] |
Allows you to set if the control is visible More... | |
bool | SupportsMultipleBlocks [get, set] |
Allows you to set if the control is visible when the block is selected as a group More... | |
Properties inherited from Sandbox.ModAPI.Interfaces.Terminal.IMyTerminalControlLabel | |
MyStringId | Label [get, set] |
The text on the label More... | |
TBlock | : | MyTerminalBlock |
Definition at line 15 of file MyTerminalControlLabel.cs.
|
inline |
Definition at line 20 of file MyTerminalControlLabel.cs.
|
inlineprotectedvirtual |
Called when app needs GUI (not on DS)
Implements Sandbox.Game.Gui.MyTerminalControl< TBlock >.
Definition at line 26 of file MyTerminalControlLabel.cs.
Definition at line 18 of file MyTerminalControlLabel.cs.