|
| MyGuiControlRadioButton () |
|
| MyGuiControlRadioButton (Vector2?position=null, Vector2?size=null, int key=0, Vector4?colorMask=null) |
|
override void | Init (MyObjectBuilder_GuiControlBase builder) |
|
override MyObjectBuilder_GuiControlBase | GetObjectBuilder () |
|
override MyGuiControlBase | HandleInput () |
| Method returns true if input was captured by control, so no other controls, nor screen can use input in this update. More...
|
|
override void | Draw (float transitionAlpha, float backgroundTransitionAlpha) |
|
Public Member Functions inherited from Sandbox.Graphics.GUI.MyGuiControlBase |
virtual MyGuiControlGridDragAndDrop | GetDragAndDropHandlingNow () |
|
virtual MyGuiControlBase | GetExclusiveInputHandler () |
|
virtual MyGuiControlBase | GetMouseOverControl () |
| Returns first control, which has mouse over. 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 () |
|
|
override void | OnHasHighlightChanged () |
|
override bool | ShouldHaveHighlight () |
|
override void | OnSizeChanged () |
|
Protected Member Functions inherited from Sandbox.Graphics.GUI.MyGuiControlBase |
| 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 void | OnPositionChanged () |
|
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 () |
|
|
MyGuiControlRadioButtonStyleEnum | VisualStyle [get, set] |
|
StringBuilder | Text [get, set] |
|
int | Key [get, set] |
|
bool | Selected [get, set] |
|
Properties inherited from Sandbox.Graphics.GUI.MyGuiControlBase |
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] |
|
Definition at line 126 of file MyGuiControlRadioButton.cs.
Sandbox.Graphics.GUI.MyGuiControlRadioButton.MyGuiControlRadioButton |
( |
| ) |
|
|
inline |
Sandbox.Graphics.GUI.MyGuiControlRadioButton.MyGuiControlRadioButton |
( |
Vector2? |
position = null , |
|
|
Vector2? |
size = null , |
|
|
int |
key = 0 , |
|
|
Vector4? |
colorMask = null |
|
) |
| |
|
inline |
override void Sandbox.Graphics.GUI.MyGuiControlRadioButton.Draw |
( |
float |
transitionAlpha, |
|
|
float |
backgroundTransitionAlpha |
|
) |
| |
|
inlinevirtual |
override MyGuiControlBase Sandbox.Graphics.GUI.MyGuiControlRadioButton.HandleInput |
( |
| ) |
|
|
inlinevirtual |
override void Sandbox.Graphics.GUI.MyGuiControlRadioButton.OnHasHighlightChanged |
( |
| ) |
|
|
inlineprotectedvirtual |
override void Sandbox.Graphics.GUI.MyGuiControlRadioButton.OnSizeChanged |
( |
| ) |
|
|
inlineprotectedvirtual |
override bool Sandbox.Graphics.GUI.MyGuiControlRadioButton.ShouldHaveHighlight |
( |
| ) |
|
|
inlineprotectedvirtual |
MyGuiDrawAlignEnum Sandbox.Graphics.GUI.MyGuiControlRadioButton.IconOriginAlign = MyGuiDrawAlignEnum.HORISONTAL_CENTER_AND_VERTICAL_CENTER |
MyGuiDrawAlignEnum Sandbox.Graphics.GUI.MyGuiControlRadioButton.TextAlignment = MyGuiDrawAlignEnum.HORISONTAL_CENTER_AND_VERTICAL_CENTER |
int Sandbox.Graphics.GUI.MyGuiControlRadioButton.Key |
|
getset |
bool Sandbox.Graphics.GUI.MyGuiControlRadioButton.Selected |
|
getset |
StringBuilder Sandbox.Graphics.GUI.MyGuiControlRadioButton.Text |
|
getset |
The documentation for this class was generated from the following file: