Space Engineers
|
Public Member Functions | |
MyGuiScreenEditor (string missionTitle=null, string currentObjectivePrefix=null, string currentObjective=null, string description=null, Action< ResultEnum > resultCallback=null, Action saveCodeCallback=null, string okButtonCaption=null) | |
override void | RecreateControls (bool constructor) |
override bool | Update (bool hasFocus) |
bool | TextTooLong () |
Public Member Functions inherited from Sandbox.Game.Gui.MyGuiScreenText | |
MyGuiScreenText (string missionTitle=null, string currentObjectivePrefix=null, string currentObjective=null, string description=null, Action< ResultEnum > resultCallback=null, string okButtonCaption=null, Vector2?windowSize=null, Vector2?descSize=null, bool editEnabled=false, bool canHideOthers=true, bool enableBackgroundFade=false, MyMissionScreenStyleEnum style=MyMissionScreenStyleEnum.BLUE) | |
override string | GetFriendlyName () |
For displaying in the list in the debug screen. More... | |
override void | RecreateControls (bool constructor) |
void | SetTitle (string title) |
void | SetCurrentObjective (string objective) |
void | SetDescription (string desc) |
void | AppendTextToDescription (string text, Vector4 color, string font=MyFontEnum.White, float scale=1.0f) |
void | AppendTextToDescription (string text, string font=MyFontEnum.White, float scale=1.0f) |
void | SetCurrentObjectivePrefix (string prefix) |
void | SetOkButtonCaption (string caption) |
override bool | CloseScreen () |
Public Member Functions inherited from Sandbox.Graphics.GUI.MyGuiScreenBase | |
delegate void | ScreenHandler (MyGuiScreenBase source) |
MyObjectBuilder_GuiScreen | GetObjectBuilder () |
void | Init (MyObjectBuilder_GuiScreen objectBuilder) |
virtual void | LoadContent () |
virtual void | LoadData () |
virtual void | UnloadContent () |
virtual void | UnloadData () |
virtual void | RunLoadingAction () |
bool | IsMouseOverAnyControl () |
MyGuiControlBase | GetMouseOverControl () |
virtual void | GetControlsUnderMouseCursor (Vector2 position, List< MyGuiControlBase > controls, bool visibleOnly) |
MyGuiControlBase | GetNextFocusControl (MyGuiControlBase currentFocusControl, bool forwardMovement) |
virtual void | HandleInput (bool receivedFocusInThisUpdate) |
virtual void | InputLost () |
virtual void | HandleUnhandledInput (bool receivedFocusInThisUpdate) |
virtual bool | HandleInputAfterSimulation () |
virtual bool | HideScreen () |
virtual bool | UnhideScreen () |
virtual void | CloseScreenNow () |
virtual bool | Draw () |
void | HideTooltips () |
Vector2 | GetPositionAbsolute () |
Vector2 | GetPositionAbsoluteCenter () |
Vector2 | GetPositionAbsoluteTopLeft () |
bool | GetDrawMouseCursor () |
bool | IsTopMostScreen () |
bool | IsAlwaysFirst () |
bool | IsTopScreen () |
bool | IsFirstForUnload () |
bool | GetDrawScreenEvenWithoutFocus () |
Vector2 | GetPosition () |
Vector2 | GetSize () |
bool | CanShareInput () |
bool | CanCloseInCloseAllScreenCalls () |
virtual int | GetTransitionOpeningTime () |
virtual int | GetTransitionClosingTime () |
virtual void | OnRemoved () |
Called when [show]. More... | |
Static Public Member Functions | |
static bool | CompileProgram (string program, List< string > errors, ref Assembly assembly) |
Protected Member Functions | |
override MyGuiControlMultilineText | AddMultilineText (Vector2?size=null, Vector2?offset=null, float textScale=1.0f, bool selectable=false, MyGuiDrawAlignEnum textAlign=MyGuiDrawAlignEnum.HORISONTAL_LEFT_AND_VERTICAL_TOP, MyGuiDrawAlignEnum textBoxAlign=MyGuiDrawAlignEnum.HORISONTAL_LEFT_AND_VERTICAL_TOP) |
Protected Member Functions inherited from Sandbox.Game.Gui.MyGuiScreenText | |
MyGuiControlCompositePanel | AddCompositePanel (MyGuiCompositeTexture texture, Vector2 position, Vector2 size, MyGuiDrawAlignEnum panelAlign) |
override void | Canceling () |
Called when user presses ESC or clicks on CANCEL - hook to this method so you can do gui-screen-specific event More... | |
void | CallResultCallback (ResultEnum result) |
Protected Member Functions inherited from Sandbox.Graphics.GUI.MyGuiScreenBase | |
MyGuiScreenBase (Vector2?position=null, Vector4?backgroundColor=null, Vector2?size=null, bool isTopMostScreen=false, string backgroundTexture=null, float backgroundTransition=0.0f, float guiTransition=0.0f) | |
bool | HandleKeyboardActiveIndex (bool forwardMovement) |
bool | IsMouseOver () |
MyGuiControlLabel | AddCaption (MyStringId textEnum, Vector4?captionTextColor=null, Vector2?captionOffset=null, float captionScale=MyGuiConstants.DEFAULT_TEXT_SCALE) |
MyGuiControlLabel | AddCaption (String text, Vector4?captionTextColor=null, Vector2?captionOffset=null, float captionScale=MyGuiConstants.DEFAULT_TEXT_SCALE) |
Color | ApplyTransitionAlpha (Vector4 color, float transition) |
virtual void | OnShow () |
Called when [show]. More... | |
virtual void | OnHide () |
Called when [show]. More... | |
virtual void | OnClosed () |
Called when [show]. More... | |
void | MakeXAndYEqual (ref Vector2 val) |
Computes ratio of width and height in GUI coordinates to make X and Y of equal value represent same distance on screen as well. Then multiplies Y using this ratio. More... | |
Vector2 | MakeXAndYEqual (Vector2 val) |
void | SetDefaultCloseButtonOffset () |
Definition at line 33 of file MyGuiScreenEditor.cs.
|
inline |
Definition at line 70 of file MyGuiScreenEditor.cs.
|
inlineprotectedvirtual |
Reimplemented from Sandbox.Game.Gui.MyGuiScreenText.
Definition at line 333 of file MyGuiScreenEditor.cs.
|
inlinestatic |
Definition at line 261 of file MyGuiScreenEditor.cs.
|
inlinevirtual |
Reimplemented from Sandbox.Graphics.GUI.MyGuiScreenBase.
Definition at line 85 of file MyGuiScreenEditor.cs.
|
inline |
Definition at line 373 of file MyGuiScreenEditor.cs.
|
inlinevirtual |
Reimplemented from Sandbox.Graphics.GUI.MyGuiScreenBase.
Definition at line 351 of file MyGuiScreenEditor.cs.