Space Engineers
|
Classes | |
class | Friend |
struct | NameChangedArgs |
Public Member Functions | |
virtual void | Init (MyObjectBuilder_GuiControlBase builder) |
virtual MyObjectBuilder_GuiControlBase | GetObjectBuilder () |
virtual void | Draw (float transitionAlpha, float backgroundTransitionAlpha) |
virtual MyGuiControlGridDragAndDrop | GetDragAndDropHandlingNow () |
virtual MyGuiControlBase | GetExclusiveInputHandler () |
virtual MyGuiControlBase | GetMouseOverControl () |
Returns first control, which has mouse over. More... | |
virtual MyGuiControlBase | HandleInput () |
Method returns true if input was captured by control, so no other controls, nor screen can use input in this update. More... | |
virtual void | HideToolTip () |
virtual bool | IsMouseOverAnyControl () |
virtual void | ShowToolTip () |
virtual void | Update () |
virtual bool | CheckMouseOver () |
Checks if mouse cursor is over control. GR: Update: Also check if mouse over parent controls. Slower but more solid implementation (and we get rid of a few bugs). Also there is no need for HandleMouse variable (removed) More... | |
virtual string | GetMouseCursorTexture () |
Vector2 | GetPositionAbsolute () |
Vector2 | GetPositionAbsoluteBottomLeft () |
Vector2 | GetPositionAbsoluteBottomRight () |
Vector2 | GetPositionAbsoluteCenterLeft () |
Vector2 | GetPositionAbsoluteCenter () |
Vector2 | GetPositionAbsoluteTopLeft () |
Vector2 | GetPositionAbsoluteTopRight () |
Vector2 | GetSize () |
void | SetToolTip (MyToolTips toolTip) |
void | SetToolTip (String text) |
void | SetToolTip (MyStringId text) |
virtual void | OnRemoving () |
Removes various references and clears event handlers. More... | |
void | GetElementsUnderCursor (Vector2 position, bool visibleOnly, List< MyGuiControlBase > controls) |
virtual MyGuiControlBase | GetNextFocusControl (MyGuiControlBase currentFocusControl, bool forwardMovement) |
virtual void | Clear () |
override string | ToString () |
Static Public Member Functions | |
static void | ReadIfHasValue< T > (ref T target, T?source) |
static void | ReadIfHasValue (ref Color target, Vector4?source) |
static MyGuiControlBase | GetExclusiveInputHandler (MyGuiControls controls) |
static Color | ApplyColorMaskModifiers (Vector4 sourceColorMask, bool enabled, float transitionAlpha) |
Modifies source color mask using transition alpha and color multiplier in case a control is disabled. More... | |
static bool | CheckMouseOver (Vector2 size, Vector2 position, MyGuiDrawAlignEnum originAlign) |
static bool | IsPointInside (Vector2 queryPoint, Vector2 size, Vector2 position, MyGuiDrawAlignEnum originAlign) |
Public Attributes | |
readonly MyGuiControls | Elements |
MyGuiCompositeTexture | BackgroundTexture |
Vector4 | BorderColor |
bool | BorderEnabled |
bool | DrawWhilePaused |
bool | ShowTooltipWhenDisabled |
bool | IsActiveControl |
There are some controls, that cannot receive any handle input(control panel for example), thus disable them with this. More... | |
MyGuiControlHighlightType | HighlightType |
Protected Member Functions | |
MyGuiControlBase (Vector2?position=null, Vector2?size=null, Vector4?colorMask=null, String toolTip=null, MyGuiCompositeTexture backgroundTexture=null, bool isActiveControl=true, bool canHaveFocus=false, bool allowFocusingElements=false, MyGuiControlHighlightType highlightType=MyGuiControlHighlightType.WHEN_ACTIVE, MyGuiDrawAlignEnum originAlign=MyGuiDrawAlignEnum.HORISONTAL_CENTER_AND_VERTICAL_CENTER) | |
void | DrawBackground (float transitionAlpha) |
void | DrawBorder (float transitionAlpha) |
virtual bool | ShouldHaveHighlight () |
virtual void | OnHasHighlightChanged () |
virtual void | OnPositionChanged () |
virtual void | OnSizeChanged () |
virtual void | OnVisibleChanged () |
virtual void | OnOriginAlignChanged () |
virtual void | OnEnabledChanged () |
virtual void | OnColorMaskChanged () |
MyGuiScreenBase | GetTopMostOwnerScreen () |
bool | IsMouseOverOrKeyboardActive () |
virtual void | DrawElements (float transitionAlpha, float backgroundTransitionAlpha) |
MyGuiControlBase | HandleInputElements () |
virtual void | ClearEvents () |
Protected Attributes | |
bool | m_mouseButtonPressed = false |
bool | m_showToolTip = false |
Vector2 | m_toolTipPosition |
Properties | |
float | Alpha [get, set] |
string | Name [get, set] |
IMyGuiControlsOwner | Owner [get] |
MyToolTips | Tooltips [get] |
Vector2 | Position [get, set] |
Position of control's center (normalized and relative to parent screen center (not left/top corner!!!)) More... | |
float | PositionY [get, set] |
float | PositionX [get, set] |
Vector2 | Size [get, set] |
Size of control (normalized). More... | |
Vector2 | MinSize [get, protected set] |
Vector2 | MaxSize [get, protected set] |
Vector4 | ColorMask [get, set] |
int | BorderSize [get, set] |
bool | Enabled [get, set] |
False to disable control, disabled controls are skipped when switching with Tab key etc., look implemented atm. only in MyGuiControlButton. More... | |
MyGuiDrawAlignEnum | OriginAlign [get, set] |
bool | Visible [get, set] |
Says whether control is visible. Note that this is not a constant time operation (checks parents, fires events on set). More... | |
bool | HasHighlight [get] |
Says whether control is currently highlighted. When control is highlit depends on HighlightType. More... | |
bool | HasFocus [get] |
bool | IsMouseOver [get, set] |
bool | CanHaveFocus [get, set] |
bool | AllowFocusingElements [get, set] |
Indicates whether elements can have focus or not. More... | |
object | UserData [get, set] |
Specific user data for this control. More... | |
string | DebugNamePath [get] |
Properties inherited from Sandbox.Graphics.GUI.IMyGuiControlsOwner | |
string | DebugNamePath [get] |
string | Name [get] |
IMyGuiControlsOwner | Owner [get] |
Events | |
Action< MyGuiControlBase, NameChangedArgs > | NameChanged |
Action< MyGuiControlBase > | SizeChanged |
VisibleChangedDelegate | VisibleChanged |
Action< MyGuiControlBase, bool > | FocusChanged |
Called when the control enters or leaves focus. More... | |
Definition at line 217 of file MyGuiControlBase.cs.
|
inlineprotected |
Definition at line 542 of file MyGuiControlBase.cs.
|
inlinestatic |
Modifies source color mask using transition alpha and color multiplier in case a control is disabled.
sourceColorMask | Original color mask of the control. |
enabled | Indicates whether disabled color mask should be applied. |
transitionAlpha | Alpha value modified during transition. |
Definition at line 823 of file MyGuiControlBase.cs.
|
inlinevirtual |
Checks if mouse cursor is over control. GR: Update: Also check if mouse over parent controls. Slower but more solid implementation (and we get rid of a few bugs). Also there is no need for HandleMouse variable (removed)
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlCombobox, Sandbox.Graphics.GUI.MyTreeViewItemDragAndDrop, and Sandbox.Graphics.GUI.MyGuiControlGridDragAndDrop.
Definition at line 757 of file MyGuiControlBase.cs.
|
inlinestatic |
Definition at line 915 of file MyGuiControlBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlGrid, Sandbox.Graphics.GUI.MyGuiControlMultilineText, Sandbox.Graphics.GUI.MyGuiControlTable, Sandbox.Graphics.GUI.MyGuiControlSeparatorList, Sandbox.Graphics.GUI.MyGuiControlContextMenu, Sandbox.Game.Screens.Helpers.MyGuiControlComponentList, Sandbox.Graphics.GUI.MyGuiControlLabeledGrid, and Sandbox.Graphics.GUI.MyGuiControlParent.
Definition at line 1079 of file MyGuiControlBase.cs.
|
inlineprotectedvirtual |
Definition at line 996 of file MyGuiControlBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlCombobox, Sandbox.Graphics.GUI.MyGuiControlGrid, Sandbox.Graphics.GUI.MyGuiControlTable, Sandbox.Graphics.GUI.MyGuiControlBlockInfo, Sandbox.Graphics.GUI.MyGuiControlListbox, Sandbox.Graphics.GUI.MyGuiControlButton, Sandbox.Graphics.GUI.MyGuiControlRadioButton, Sandbox.Graphics.GUI.MyGuiControlMultilineText, Sandbox.Graphics.GUI.MyGuiControlSliderBase, Sandbox.Game.Screens.Helpers.MyGuiControlStats, Sandbox.Graphics.GUI.MyGuiControlTextbox, Sandbox.Graphics.GUI.MyGuiControlContextMenu, Sandbox.Gui.MyGuiControlImageButton, Sandbox.Graphics.GUI.MyGuiControlScrollablePanel, Sandbox.Graphics.GUI.MyGuiControlLabel, Sandbox.Graphics.GUI.MyGuiControlTabControl, Sandbox.Graphics.GUI.MyGuiControlCheckbox, Sandbox.Graphics.GUI.MyGuiControlColor, Sandbox.Game.Screens.Helpers.MyGuiControlStats.MyGuiControlStat, Sandbox.Graphics.GUI.MyGuiControlList, Sandbox.Game.Screens.Helpers.MyGuiControlToolbar, Sandbox.Graphics.GUI.MyGuiControlGridDragAndDrop, Sandbox.Graphics.GUI.MyGuiControlBlockProperty, Sandbox.Game.Screens.MyGuiControlQuestlog, Sandbox.Graphics.GUI.MyGuiControlProgressBar, Sandbox.Graphics.GUI.MyGuiControlImage, Sandbox.Graphics.GUI.MyGuiControlSeparatorList, Sandbox.Graphics.GUI.MyGuiControlParent, Sandbox.Graphics.GUI.MyTreeViewItemDragAndDrop, Sandbox.Graphics.GUI.MyGuiControlTreeView, Sandbox.Graphics.GUI.MyGuiControlRotatingWheel, Sandbox.Graphics.GUI.MyGuiControlCountdownWheel, Sandbox.Graphics.GUI.MyGuiControlCompositePanel, Sandbox.Game.GUI.HudViewers.MyHudControlChat, Sandbox.Gui.MyGuiControlProgressBarHud, and Sandbox.Graphics.GUI.MyGuiControlLabeledGrid.
Definition at line 617 of file MyGuiControlBase.cs.
|
inlineprotected |
Definition at line 624 of file MyGuiControlBase.cs.
|
inlineprotected |
Definition at line 633 of file MyGuiControlBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlScrollablePanel.
Definition at line 970 of file MyGuiControlBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlTabControl, Sandbox.Graphics.GUI.MyGuiControlGridDragAndDrop, and Sandbox.Graphics.GUI.MyGuiControlParent.
Definition at line 642 of file MyGuiControlBase.cs.
|
inline |
Definition at line 1019 of file MyGuiControlBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlCombobox, and Sandbox.Graphics.GUI.MyGuiControlParent.
Definition at line 647 of file MyGuiControlBase.cs.
|
inlinestatic |
Definition at line 652 of file MyGuiControlBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlButton, and Sandbox.Gui.MyGuiControlImageButton.
Definition at line 837 of file MyGuiControlBase.cs.
|
inlinevirtual |
Returns first control, which has mouse over.
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlParent.
Definition at line 667 of file MyGuiControlBase.cs.
|
inlinevirtual |
Implements Sandbox.Graphics.GUI.IMyGuiControlsOwner.
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlParent.
Definition at line 1058 of file MyGuiControlBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlButton, Sandbox.Gui.MyGuiControlImageButton, Sandbox.Graphics.GUI.MyGuiControlListbox, Sandbox.Graphics.GUI.MyGuiControlGrid, Sandbox.Graphics.GUI.MyGuiControlRadioButton, Sandbox.Graphics.GUI.MyGuiControlMultilineText, Sandbox.Graphics.GUI.MyGuiControlLabel, Sandbox.Graphics.GUI.MyGuiControlTabControl, Sandbox.Graphics.GUI.MyGuiControlCheckbox, Sandbox.Graphics.GUI.MyGuiControlList, Sandbox.Graphics.GUI.MyGuiControlTabPage, Sandbox.Graphics.GUI.MyGuiControlSeparatorList, Sandbox.Graphics.GUI.MyGuiControlParent, and Sandbox.Graphics.GUI.MyGuiControlCompositePanel.
Definition at line 588 of file MyGuiControlBase.cs.
|
inline |
Implements Sandbox.Graphics.GUI.IMyGuiControlsOwner.
Definition at line 857 of file MyGuiControlBase.cs.
|
inline |
Definition at line 865 of file MyGuiControlBase.cs.
|
inline |
Definition at line 870 of file MyGuiControlBase.cs.
|
inline |
Implements Sandbox.Graphics.GUI.IMyGuiControlsOwner.
Definition at line 880 of file MyGuiControlBase.cs.
|
inline |
Definition at line 875 of file MyGuiControlBase.cs.
|
inline |
Implements Sandbox.Graphics.GUI.IMyGuiControlsOwner.
Definition at line 885 of file MyGuiControlBase.cs.
|
inline |
Definition at line 890 of file MyGuiControlBase.cs.
|
inline |
Implements Sandbox.Graphics.GUI.IMyGuiControlsOwner.
Definition at line 895 of file MyGuiControlBase.cs.
|
inlineprotected |
Definition at line 930 of file MyGuiControlBase.cs.
|
inlinevirtual |
Method returns true if input was captured by control, so no other controls, nor screen can use input in this update.
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlGrid, Sandbox.Graphics.GUI.MyGuiControlCombobox, Sandbox.Graphics.GUI.MyGuiControlTable, Sandbox.Graphics.GUI.MyGuiControlMultilineText, Sandbox.Graphics.GUI.MyGuiControlTextbox, Sandbox.Graphics.GUI.MyGuiControlListbox, Sandbox.Graphics.GUI.MyGuiControlGenericFunctionalBlock, Sandbox.Graphics.GUI.MyGuiControlRadioButton, Sandbox.Graphics.GUI.MyGuiControlButton, Sandbox.Gui.DirectoryBrowser.MyGuiControlDirectoryBrowser, Sandbox.Graphics.GUI.MyGuiControlSliderBase, Sandbox.Graphics.GUI.MyGuiControlTabControl, Sandbox.Game.Screens.Helpers.MyGuiControlNews, Sandbox.Gui.MyGuiControlImageButton, Sandbox.Graphics.GUI.MyGuiControlCheckbox, Sandbox.Graphics.GUI.MyGuiControlColor, Sandbox.Graphics.GUI.MyGuiControlScrollablePanel, Sandbox.Graphics.GUI.MyGuiControlList, Sandbox.Graphics.GUI.MyGuiControlContextMenu, Sandbox.Game.Screens.Helpers.MyGuiControlInventoryOwner, Sandbox.Graphics.GUI.MyGuiControlGridDragAndDrop, Sandbox.Game.Screens.Helpers.MyGuiControlOnOffSwitch, Sandbox.Graphics.GUI.MyGuiControlBlockProperty, Sandbox.Game.Screens.Helpers.MyGuiControlToolbar, Sandbox.Graphics.GUI.MyGuiControlParent, Sandbox.Graphics.GUI.MyTreeViewItemDragAndDrop, Sandbox.Graphics.GUI.MyGuiControlMultilineEditableText, Sandbox.Graphics.GUI.MyGuiControlTreeView, and Sandbox.Game.Screens.Helpers.MyGuiControlVoxelHandSettings.
Definition at line 677 of file MyGuiControlBase.cs.
|
inlineprotected |
Definition at line 981 of file MyGuiControlBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlParent.
Definition at line 708 of file MyGuiControlBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlButton, Sandbox.Gui.MyGuiControlImageButton, Sandbox.Graphics.GUI.MyGuiControlListbox, Sandbox.Graphics.GUI.MyGuiControlGrid, Sandbox.Graphics.GUI.MyGuiControlTextbox, Sandbox.Graphics.GUI.MyGuiControlRadioButton, Sandbox.Graphics.GUI.MyGuiControlMultilineText, Sandbox.Graphics.GUI.MyGuiControlLabel, Sandbox.Graphics.GUI.MyGuiControlCheckbox, Sandbox.Graphics.GUI.MyGuiControlTabControl, Sandbox.Graphics.GUI.MyGuiControlList, Sandbox.Game.Screens.Helpers.MyGuiControlOnOffSwitch, Sandbox.Graphics.GUI.MyGuiControlTabPage, Sandbox.Graphics.GUI.MyGuiControlParent, Sandbox.Graphics.GUI.MyGuiControlSeparatorList, and Sandbox.Graphics.GUI.MyGuiControlCompositePanel.
Definition at line 577 of file MyGuiControlBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlParent.
Definition at line 713 of file MyGuiControlBase.cs.
|
inlineprotected |
Definition at line 948 of file MyGuiControlBase.cs.
|
inlinestatic |
Definition at line 920 of file MyGuiControlBase.cs.
|
inlineprotectedvirtual |
Definition at line 803 of file MyGuiControlBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlScrollablePanel, and Sandbox.Game.Screens.Helpers.MyGuiControlInventoryOwner.
Definition at line 797 of file MyGuiControlBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlTextbox, Sandbox.Graphics.GUI.MyGuiControlTable, Sandbox.Graphics.GUI.MyGuiControlButton, Sandbox.Graphics.GUI.MyGuiControlListbox, Sandbox.Gui.MyGuiControlImageButton, Sandbox.Graphics.GUI.MyGuiControlRadioButton, Sandbox.Graphics.GUI.MyGuiControlSliderBase, Sandbox.Graphics.GUI.MyGuiControlList, Sandbox.Graphics.GUI.MyGuiControlCombobox, Sandbox.Graphics.GUI.MyGuiControlScrollablePanel, Sandbox.Graphics.GUI.MyGuiControlCheckbox, Sandbox.Game.Screens.Helpers.MyGuiControlContentButton, and Sandbox.Game.Screens.Helpers.MyGuiControlScenarioButton.
Definition at line 771 of file MyGuiControlBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlButton, Sandbox.Graphics.GUI.MyGuiControlTable, Sandbox.Graphics.GUI.MyGuiControlListbox, Sandbox.Gui.MyGuiControlImageButton, and Sandbox.Graphics.GUI.MyGuiControlCombobox.
Definition at line 793 of file MyGuiControlBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlTable, Sandbox.Graphics.GUI.MyGuiControlListbox, Sandbox.Graphics.GUI.MyGuiControlCombobox, Sandbox.Graphics.GUI.MyGuiControlScrollablePanel, Sandbox.Graphics.GUI.MyGuiControlList, and Sandbox.Graphics.GUI.MyGuiControlTreeView.
Definition at line 777 of file MyGuiControlBase.cs.
|
inlinevirtual |
Removes various references and clears event handlers.
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlListbox, Sandbox.Graphics.GUI.MyGuiControlSliderBase, Sandbox.Graphics.GUI.MyGuiControlParent, Sandbox.Graphics.GUI.MyGuiControlGenericFunctionalBlock, Sandbox.Game.Screens.Helpers.MyGuiControlInventoryOwner, Sandbox.Graphics.GUI.MyGuiControlBlockProperty, Sandbox.Game.Screens.Helpers.MyGuiControlToolbar, and Sandbox.Game.Screens.Helpers.MyGuiControlStats.MyGuiControlStat.
Definition at line 1006 of file MyGuiControlBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlMultilineText, Sandbox.Graphics.GUI.MyGuiControlTextbox, Sandbox.Graphics.GUI.MyGuiControlTable, Sandbox.Graphics.GUI.MyGuiControlButton, Sandbox.Gui.MyGuiControlImageButton, Sandbox.Graphics.GUI.MyGuiControlRadioButton, Sandbox.Graphics.GUI.MyGuiControlGenericFunctionalBlock, Sandbox.Graphics.GUI.MyGuiControlSliderBase, Sandbox.Graphics.GUI.MyGuiControlTabControl, Sandbox.Graphics.GUI.MyGuiControlScrollablePanel, Sandbox.Game.Screens.Helpers.MyGuiControlNews, Sandbox.Graphics.GUI.MyGuiControlList, Sandbox.Graphics.GUI.MyGuiControlColor, Sandbox.Game.Screens.Helpers.MyGuiControlContentButton, Sandbox.Game.Screens.Helpers.MyGuiControlToolbar, Sandbox.Game.Screens.Helpers.MyGuiControlInventoryOwner, Sandbox.Graphics.GUI.MyGuiControlBlockProperty, Sandbox.Game.Screens.Helpers.MyGuiControlComponentList, and Sandbox.Game.Screens.Helpers.MyGuiControlScenarioButton.
Definition at line 781 of file MyGuiControlBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Screens.Helpers.MyGuiControlOnOffSwitch, and Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.
Definition at line 787 of file MyGuiControlBase.cs.
|
inlinestatic |
Definition at line 608 of file MyGuiControlBase.cs.
|
inlinestatic |
T | : | struct |
Definition at line 602 of file MyGuiControlBase.cs.
|
inline |
Definition at line 900 of file MyGuiControlBase.cs.
|
inline |
Definition at line 905 of file MyGuiControlBase.cs.
|
inline |
Definition at line 910 of file MyGuiControlBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlButton, Sandbox.Gui.MyGuiControlImageButton, and Sandbox.Graphics.GUI.MyGuiControlRadioButton.
Definition at line 741 of file MyGuiControlBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlCombobox, Sandbox.Graphics.GUI.MyGuiControlGrid, Sandbox.Graphics.GUI.MyGuiControlTable, Sandbox.Graphics.GUI.MyGuiControlListbox, Sandbox.Graphics.GUI.MyGuiControlList, Sandbox.Graphics.GUI.MyGuiControlScrollablePanel, Sandbox.Graphics.GUI.MyGuiControlTabControl, Sandbox.Graphics.GUI.MyGuiControlParent, and Sandbox.Graphics.GUI.MyGuiControlGridDragAndDrop.
Definition at line 718 of file MyGuiControlBase.cs.
|
inline |
Definition at line 1081 of file MyGuiControlBase.cs.
|
inlinevirtual |
Reimplemented in Sandbox.Graphics.GUI.MyGuiControlGrid, Sandbox.Graphics.GUI.MyGuiControlTable, Sandbox.Game.Screens.Helpers.MyGuiControlStats, Sandbox.Graphics.GUI.MyGuiControlParent, Sandbox.Game.Screens.Helpers.MyGuiControlInventoryOwner, Sandbox.Game.Screens.Helpers.MyGuiControlToolbar, Sandbox.Game.Screens.Helpers.MyGuiControlStats.MyGuiControlStat, Sandbox.Game.Screens.MyGuiControlQuestlog, Sandbox.Graphics.GUI.MyGuiControlRotatingWheel, and Sandbox.Graphics.GUI.MyGuiControlCountdownWheel.
Definition at line 734 of file MyGuiControlBase.cs.
MyGuiCompositeTexture Sandbox.Graphics.GUI.MyGuiControlBase.BackgroundTexture |
Definition at line 404 of file MyGuiControlBase.cs.
Vector4 Sandbox.Graphics.GUI.MyGuiControlBase.BorderColor |
Definition at line 406 of file MyGuiControlBase.cs.
bool Sandbox.Graphics.GUI.MyGuiControlBase.BorderEnabled |
Definition at line 414 of file MyGuiControlBase.cs.
bool Sandbox.Graphics.GUI.MyGuiControlBase.DrawWhilePaused |
Definition at line 416 of file MyGuiControlBase.cs.
readonly MyGuiControls Sandbox.Graphics.GUI.MyGuiControlBase.Elements |
Definition at line 296 of file MyGuiControlBase.cs.
MyGuiControlHighlightType Sandbox.Graphics.GUI.MyGuiControlBase.HighlightType |
Definition at line 474 of file MyGuiControlBase.cs.
bool Sandbox.Graphics.GUI.MyGuiControlBase.IsActiveControl |
There are some controls, that cannot receive any handle input(control panel for example), thus disable them with this.
Definition at line 440 of file MyGuiControlBase.cs.
|
protected |
Definition at line 259 of file MyGuiControlBase.cs.
|
protected |
Definition at line 261 of file MyGuiControlBase.cs.
|
protected |
Definition at line 265 of file MyGuiControlBase.cs.
bool Sandbox.Graphics.GUI.MyGuiControlBase.ShowTooltipWhenDisabled |
Definition at line 435 of file MyGuiControlBase.cs.
|
getsetprotected |
Indicates whether elements can have focus or not.
Definition at line 514 of file MyGuiControlBase.cs.
|
getset |
Definition at line 234 of file MyGuiControlBase.cs.
|
getset |
Definition at line 409 of file MyGuiControlBase.cs.
|
getset |
Definition at line 505 of file MyGuiControlBase.cs.
|
getset |
Definition at line 392 of file MyGuiControlBase.cs.
|
get |
Definition at line 534 of file MyGuiControlBase.cs.
|
getset |
False to disable control, disabled controls are skipped when switching with Tab key etc., look implemented atm. only in MyGuiControlButton.
Definition at line 422 of file MyGuiControlBase.cs.
|
get |
Definition at line 494 of file MyGuiControlBase.cs.
|
get |
Says whether control is currently highlighted. When control is highlit depends on HighlightType.
Definition at line 480 of file MyGuiControlBase.cs.
|
getset |
Definition at line 499 of file MyGuiControlBase.cs.
|
getprotected set |
Definition at line 378 of file MyGuiControlBase.cs.
|
getprotected set |
Definition at line 365 of file MyGuiControlBase.cs.
|
getset |
Definition at line 269 of file MyGuiControlBase.cs.
|
getset |
Definition at line 443 of file MyGuiControlBase.cs.
|
get |
Definition at line 291 of file MyGuiControlBase.cs.
|
getset |
Position of control's center (normalized and relative to parent screen center (not left/top corner!!!))
Definition at line 304 of file MyGuiControlBase.cs.
|
getset |
Definition at line 330 of file MyGuiControlBase.cs.
|
getset |
Definition at line 317 of file MyGuiControlBase.cs.
|
getset |
Size of control (normalized).
Definition at line 348 of file MyGuiControlBase.cs.
|
get |
Definition at line 298 of file MyGuiControlBase.cs.
|
getset |
Specific user data for this control.
Definition at line 528 of file MyGuiControlBase.cs.
|
getset |
Says whether control is visible. Note that this is not a constant time operation (checks parents, fires events on set).
Definition at line 460 of file MyGuiControlBase.cs.
Action<MyGuiControlBase, bool> Sandbox.Graphics.GUI.MyGuiControlBase.FocusChanged |
Called when the control enters or leaves focus.
Definition at line 522 of file MyGuiControlBase.cs.
Action<MyGuiControlBase, NameChangedArgs> Sandbox.Graphics.GUI.MyGuiControlBase.NameChanged |
Definition at line 288 of file MyGuiControlBase.cs.
Action<MyGuiControlBase> Sandbox.Graphics.GUI.MyGuiControlBase.SizeChanged |
Definition at line 362 of file MyGuiControlBase.cs.
VisibleChangedDelegate Sandbox.Graphics.GUI.MyGuiControlBase.VisibleChanged |
Definition at line 472 of file MyGuiControlBase.cs.