Space Engineers
Classes | Enumerations | Functions
Package Sandbox.Graphics.GUI

Classes

interface  IMyGuiControlsOwner
 
interface  IMyGuiControlsParent
 
interface  IMyGuiSandbox
 
interface  ITreeView
 
class  MyColoredText
 
class  MyControlHelpers
 This is here because we have stupid labels
 
class  MyDragAndDropEventArgs
 
class  MyDragAndDropInfo
 
class  MyDragAndDropRestriction
 
class  MyDX9Gui
 
struct  MyGuiBorderThickness
 Structure specifying thickness of each of the 4 borders of a rectangle. Can be used for margin and padding specification. More...
 
class  MyGuiCompositeTexture
 Composite texture is built from several parts. Currently there is Top and Bottom which are rendered at their original aspect ratio and size, and Center which fills up space between Top and Bottom. More...
 
class  MyGuiConstants
 
class  MyGuiControlBase
 
class  MyGuiControlBlockInfo
 
class  MyGuiControlBlockProperty
 
class  MyGuiControlButton
 
class  MyGuiControlCheckbox
 
class  MyGuiControlColor
 
class  MyGuiControlCombobox
 
class  MyGuiControlCompositePanel
 
class  MyGuiControlContextMenu
 
class  MyGuiControlCountdownWheel
 
class  MyGuiControlGenericFunctionalBlock
 
class  MyGuiControlGrid
 
class  MyGuiControlGridDragAndDrop
 
class  MyGuiControlImage
 
class  MyGuiControlLabel
 
class  MyGuiControlLabeledGrid
 
class  MyGuiControlList
 
class  MyGuiControlListbox
 
class  MyGuiControlMultilineEditableText
 
class  MyGuiControlMultilineText
 
class  MyGuiControlPanel
 
class  MyGuiControlParent
 
class  MyGuiControlProgressBar
 
class  MyGuiControlRadioButton
 
class  MyGuiControlRadioButtonGroup
 
class  MyGuiControlRotatingWheel
 
class  MyGuiControls
 
class  MyGuiControlScrollablePanel
 
class  MyGuiControlSeparatorList
 
class  MyGuiControlsFactory
 
class  MyGuiControlSlider
 
class  MyGuiControlSliderBase
 
class  MyGuiControlTabControl
 
class  MyGuiControlTable
 
class  MyGuiControlTabPage
 
class  MyGuiControlTextbox
 
class  MyGuiControlTreeView
 
class  MyGuiControlTypeAttribute
 
class  MyGUIHelper
 
struct  MyGuiHighlightTexture
 Structure describing texture that consists of normal and highlight version. Also holds information about size of the texture before it was scaled to power of 2 and this size in GUI normalized coordinates. More...
 
struct  MyGuiPaddedTexture
 Texture that also contains padding information. More...
 
class  MyGuiSandbox
 
class  MyGuiScreenBase
 
class  MyGuiScreenDialogAmount
 
class  MyGuiScreenLogo
 
class  MyGuiScreenMessageBox
 
class  MyGuiScreenProgressBase
 
class  MyGuiScreenProgressBaseAsync
 
struct  MyGuiSizedTexture
 Similar to MyGuiHighlightTexture but only contains one texture image. More...
 
class  MyGuiSliderProperties
 
class  MyGuiSliderPropertiesExponential
 
class  MyGuiTextShadows
 
class  MyHScrollbar
 
class  MyIconTexts
 
class  MyKeyThrottler
 
struct  MyLayoutHorizontal
 
struct  MyLayoutTable
 
struct  MyLayoutVertical
 
class  MyNullGui
 
class  MyRichLabel
 
class  MyRichLabelImage
 
class  MyRichLabelLine
 
class  MyRichLabelPart
 
class  MyRichLabelText
 
class  MyScreenManager
 
class  MyScrollbar
 
class  MyToolTips
 
class  MyTreeView
 
class  MyTreeViewBase
 
class  MyTreeViewBody
 
class  MyTreeViewItem
 
class  MyTreeViewItemDragAndDrop
 
class  MyVScrollbar
 
class  ShadowTexture
 
class  ShadowTextureSet
 

Enumerations

enum  UrlOpenMode {
  UrlOpenMode.SteamOverlay = 0x1, UrlOpenMode.ExternalBrowser = 0x2, UrlOpenMode.ConfirmExternal = 0x4, UrlOpenMode.SteamOrExternal = SteamOverlay | ExternalBrowser,
  UrlOpenMode.SteamOrExternalWithConfirm = SteamOverlay | ExternalBrowser | ConfirmExternal
}
 
enum  MyGuiControlHighlightType { MyGuiControlHighlightType.NEVER, MyGuiControlHighlightType.WHEN_CURSOR_OVER, MyGuiControlHighlightType.WHEN_ACTIVE, MyGuiControlHighlightType.FORCED }
 
enum  MyGuiControlBlockPropertyLayoutEnum { MyGuiControlBlockPropertyLayoutEnum.Horizontal, MyGuiControlBlockPropertyLayoutEnum.Vertical }
 
enum  MyGuiControlButtonTextAlignment { MyGuiControlButtonTextAlignment.Centered, MyGuiControlButtonTextAlignment.Left }
 
enum  MyGuiControlComboboxStyleEnum { MyGuiControlComboboxStyleEnum.Default, MyGuiControlComboboxStyleEnum.Debug, MyGuiControlComboboxStyleEnum.Terminal }
 
enum  MyDropHandleType { MyDropHandleType.MouseClick, MyDropHandleType.MouseRelease }
 
enum  MyGuiControlSliderStyleEnum { MyGuiControlSliderStyleEnum.Default, MyGuiControlSliderStyleEnum.Hue }
 
enum  MyGuiControlTableStyleEnum { MyGuiControlTableStyleEnum.Default, MyGuiControlTableStyleEnum.Medieval }
 
enum  MyGuiControlTextboxType : byte { MyGuiControlTextboxType.Normal, MyGuiControlTextboxType.Password, MyGuiControlTextboxType.DigitsOnly }
 
enum  MyGuiControlTextboxStyleEnum { MyGuiControlTextboxStyleEnum.Default, MyGuiControlTextboxStyleEnum.Debug, MyGuiControlTextboxStyleEnum.Custom }
 
enum  MyGuiScreenState {
  MyGuiScreenState.OPENING, MyGuiScreenState.OPENED, MyGuiScreenState.CLOSING, MyGuiScreenState.CLOSED,
  MyGuiScreenState.HIDING, MyGuiScreenState.UNHIDING, MyGuiScreenState.HIDDEN
}
 
enum  ScreenResult { ScreenResult.Ok, ScreenResult.Cancel }
 Generic screen results More...
 
enum  MyAlignH { MyAlignH.Left = 0, MyAlignH.Center = 1, MyAlignH.Right = 2 }
 
enum  MyAlignV { MyAlignV.Top = 0, MyAlignV.Center = 1, MyAlignV.Bottom = 2 }
 
enum  ThrottledKeyStatus { ThrottledKeyStatus.UNPRESSED, ThrottledKeyStatus.PRESSED_AND_WAITING, ThrottledKeyStatus.PRESSED_AND_READY }
 
enum  MyMessageBoxStyleEnum { MyMessageBoxStyleEnum.Error, MyMessageBoxStyleEnum.Info }
 
enum  MyMessageBoxButtonsType {
  MyMessageBoxButtonsType.NONE, MyMessageBoxButtonsType.OK, MyMessageBoxButtonsType.YES_NO, MyMessageBoxButtonsType.YES_NO_CANCEL,
  MyMessageBoxButtonsType.YES_NO_TIMEOUT, MyMessageBoxButtonsType.NONE_TIMEOUT
}
 

Functions

delegate void VisibleChangedDelegate (object sender, bool isVisible)
 
delegate void OnItemDropped (object sender, MyDragAndDropEventArgs eventArgs)
 
delegate void LinkClicked (MyGuiControlBase sender, string url)
 
delegate void ActionDoneHandler< T > (IAsyncResult asyncResult, T asyncState)
 
delegate void ErrorHandler< T > (Exception exception, T asyncState)
 
delegate void ScissorRectangleHandler (ref RectangleF rectangle)
 

Enumeration Type Documentation

Enumerator
Left 
Center 
Right 

Definition at line 10 of file MyListLayouts.cs.

Enumerator
Top 
Center 
Bottom 

Definition at line 17 of file MyListLayouts.cs.

Enumerator
MouseClick 

Drop released on mouse button click

MouseRelease 

Drop released on mouse button release

Definition at line 30 of file MyGuiControlGridDragAndDrop.cs.

Enumerator
Horizontal 
Vertical 

Definition at line 10 of file MyGuiControlBlockProperty.cs.

Enumerator
Centered 
Left 

Definition at line 16 of file MyGuiControlButton.cs.

Enumerator
Default 
Debug 
Terminal 

Definition at line 14 of file MyGuiControlCombobox.cs.

Enumerator
NEVER 
WHEN_CURSOR_OVER 
WHEN_ACTIVE 
FORCED 

Definition at line 16 of file MyGuiControlBase.cs.

Enumerator
Default 
Hue 

Definition at line 11 of file MyGuiControlSliderBase.cs.

Enumerator
Default 
Medieval 

Definition at line 13 of file MyGuiControlTable.cs.

Enumerator
Default 
Debug 
Custom 

Definition at line 29 of file MyGuiControlTextbox.cs.

Enumerator
Normal 
Password 
DigitsOnly 

Definition at line 22 of file MyGuiControlTextbox.cs.

Enumerator
OPENING 
OPENED 
CLOSING 
CLOSED 
HIDING 
UNHIDING 
HIDDEN 

Definition at line 23 of file MyGuiScreenBase.cs.

Enumerator
NONE 
OK 
YES_NO 
YES_NO_CANCEL 
YES_NO_TIMEOUT 
NONE_TIMEOUT 

Definition at line 18 of file MyGuiScreenMessageBox.cs.

Enumerator
Error 
Info 

Definition at line 11 of file MyGuiScreenMessageBox.cs.

Generic screen results

Enumerator
Ok 

Ok

Cancel 

Cancel

Definition at line 37 of file MyGuiScreenBase.cs.

Enumerator
UNPRESSED 

The requested key is not pressed.

PRESSED_AND_WAITING 

The requested key is pressed, but it's waiting for a delay.

PRESSED_AND_READY 

The key is pressed and any time delay has passed.

Definition at line 3 of file ThrottledKeyStatus.cs.

Enumerator
SteamOverlay 
ExternalBrowser 
ConfirmExternal 
SteamOrExternal 
SteamOrExternalWithConfirm 

Definition at line 9 of file UrlOpenMode.cs.

Function Documentation

delegate void Sandbox.Graphics.GUI.ActionDoneHandler< T > ( IAsyncResult  asyncResult,
asyncState 
)
delegate void Sandbox.Graphics.GUI.ErrorHandler< T > ( Exception  exception,
asyncState 
)
delegate void Sandbox.Graphics.GUI.LinkClicked ( MyGuiControlBase  sender,
string  url 
)
delegate void Sandbox.Graphics.GUI.OnItemDropped ( object  sender,
MyDragAndDropEventArgs  eventArgs 
)
delegate void Sandbox.Graphics.GUI.ScissorRectangleHandler ( ref RectangleF  rectangle)
delegate void Sandbox.Graphics.GUI.VisibleChangedDelegate ( object  sender,
bool  isVisible 
)