|
override void | OnVisibleChanged () |
|
override void | OnSizeChanged () |
|
virtual void | SetGridItemAt (int slot, MyToolbarItem item, string[] icons, string subicon, String tooltip, MyGuiControlGrid.ColoredIcon?symbol=null, bool clear=false) |
|
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 bool | ShouldHaveHighlight () |
|
virtual void | OnHasHighlightChanged () |
|
virtual void | OnPositionChanged () |
|
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 () |
|
|
MyToolbar | ShownToolbar [get] |
|
MyGuiControlGrid | ToolbarGrid [get] |
|
bool | DrawNumbers [get] |
|
Func< int, Sandbox.Graphics.GUI.MyGuiControlGrid.ColoredIcon > | GetSymbol [get] |
|
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] |
|
|
Static Public Member Functions inherited from Sandbox.Graphics.GUI.MyGuiControlBase |
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) |
|
Events inherited from Sandbox.Graphics.GUI.MyGuiControlBase |
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 19 of file MyGuiControlToolbar.cs.
Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.MyGuiControlToolbar |
( |
| ) |
|
|
inline |
override void Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.Draw |
( |
float |
transitionAlpha, |
|
|
float |
backgroundTransitionAlpha |
|
) |
| |
|
inlinevirtual |
void Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.HandleDragAndDrop |
( |
object |
sender, |
|
|
MyDragAndDropEventArgs |
eventArgs |
|
) |
| |
|
inline |
override MyGuiControlBase Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.HandleInput |
( |
| ) |
|
|
inlinevirtual |
bool Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.IsToolbarGrid |
( |
MyGuiControlGrid |
grid | ) |
|
|
inline |
override void Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.OnRemoving |
( |
| ) |
|
|
inlinevirtual |
override void Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.OnSizeChanged |
( |
| ) |
|
|
inlineprotectedvirtual |
override void Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.OnVisibleChanged |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual void Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.SetGridItemAt |
( |
int |
slot, |
|
|
MyToolbarItem |
item, |
|
|
string[] |
icons, |
|
|
string |
subicon, |
|
|
String |
tooltip, |
|
|
MyGuiControlGrid.ColoredIcon? |
symbol = null , |
|
|
bool |
clear = false |
|
) |
| |
|
inlineprotectedvirtual |
void Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.ShowToolbar |
( |
MyToolbar |
toolbar | ) |
|
|
inline |
override void Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.Update |
( |
| ) |
|
|
inlinevirtual |
MyGuiControlPanel Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.m_colorVariantPanel |
|
protected |
int Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.m_contextMenuItemIndex = -1 |
|
protected |
MyGuiControlLabel Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.m_selectedItemLabel |
|
protected |
MyToolbar Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.m_shownToolbar |
|
protected |
StringBuilder Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.m_textCache = new StringBuilder() |
|
staticprotected |
MyGuiControlGrid Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.m_toolbarItemsGrid |
|
protected |
bool Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.UseContextMenu = true |
bool Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.DrawNumbers |
|
get |
MyToolbar Sandbox.Game.Screens.Helpers.MyGuiControlToolbar.ShownToolbar |
|
get |
The documentation for this class was generated from the following file: