Space Engineers
|
Protected Types | |
enum | StateEnum { StateEnum.ListNeedsReload, StateEnum.ListLoading, StateEnum.ListLoaded } |
Protected Member Functions | |
virtual void | BuildControls () |
virtual MyGuiControlTable | CreateScenarioTable () |
MyGuiControlLabel | MakeLabel (MyStringId textEnum) |
virtual void | SetDefaultValues () |
void | OnOkButtonClick (object sender) |
virtual void | OnTableItemSelected (MyGuiControlTable sender, MyGuiControlTable.EventArgs eventArgs) |
override void | OnShow () |
Called when [show]. More... | |
void | FillRight () |
virtual void | FillList () |
void | AddSave (Tuple< string, MyWorldInfo > save) |
void | AddSaves (List< Tuple< string, MyWorldInfo >> saves) |
void | ClearSaves () |
void | RefreshGameList () |
Tuple< string, MyWorldInfo > | FindSave (MyGuiControlTable.Row row) |
virtual MyGuiHighlightTexture | GetIcon (Tuple< string, MyWorldInfo > save) |
virtual void | LoadSandboxInternal (Tuple< string, MyWorldInfo > save, bool MP) |
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) |
virtual void | Canceling () |
Called when user presses ESC or clicks on CANCEL - hook to this method so you can do gui-screen-specific event More... | |
Color | ApplyTransitionAlpha (Vector4 color, float transition) |
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 () |
Properties | |
abstract MyStringId | ScreenCaption [get] |
abstract bool | IsOnlineMode [get] |
Properties inherited from Sandbox.Graphics.GUI.MyGuiScreenBase | |
Color | BackgroundFadeColor [get] |
bool | SkipTransition [get, set] |
bool | Cancelled [get] |
bool | DrawMouseCursor [get, set] |
bool | JoystickAsMouse [get, set] |
MyGuiScreenState | State [get, set] |
bool | IsLoaded [get, set] |
bool | EnabledBackgroundFade [get, protected set] |
Draw fade rectangle under top-most screen? More... | |
bool | CanBeHidden [get, protected set] |
Indicates whether screen can be hidden when another screen is on top of it (assuming that screen hides screens below it). More... | |
bool | CanHideOthers [get, protected set] |
Indicates whether screen can hide screens below it. This will not hide screens that cannot be hidden. More... | |
bool | CanHaveFocus [get, protected set] |
Without focus, this screen will not steal input. More... | |
virtual MyGuiControls | Controls [get] |
Vector4 | BackgroundColor [get, set] |
Vector2 | Size [get, set] |
bool | Visible [get] |
Vector2 | CloseButtonOffset [get, set] |
bool | CloseButtonEnabled [get, set] |
MyGuiControlBase | FocusedControl [get, set] |
string | DebugNamePath [get] |
string | Name [get] |
IMyGuiControlsOwner | Owner [get] |
Properties inherited from Sandbox.Graphics.GUI.IMyGuiControlsParent | |
MyGuiControls | Controls [get] |
Properties inherited from Sandbox.Graphics.GUI.IMyGuiControlsOwner | |
string | DebugNamePath [get] |
string | Name [get] |
IMyGuiControlsOwner | Owner [get] |
Additional Inherited Members | |
Public Attributes inherited from Sandbox.Graphics.GUI.MyGuiScreenBase | |
Action | OnLoadingAction |
readonly MyGuiControls | Elements |
Static Protected Member Functions inherited from Sandbox.Graphics.GUI.MyGuiScreenBase | |
static string | MakeScreenFilepath (string name) |
Events inherited from Sandbox.Graphics.GUI.MyGuiScreenBase | |
ScreenHandler | Closed |
VisibleChangedDelegate | VisibleChanged |
Action< MyGuiScreenBase > | DataLoading |
Action< MyGuiScreenBase > | DataUnloading |
Definition at line 21 of file MyGuiScreenScenarioBase.cs.
|
protected |
Enumerator | |
---|---|
ListNeedsReload | |
ListLoading | |
ListLoaded |
Definition at line 23 of file MyGuiScreenScenarioBase.cs.
|
inline |
Definition at line 47 of file MyGuiScreenScenarioBase.cs.
|
inlineprotected |
Definition at line 288 of file MyGuiScreenScenarioBase.cs.
|
inlineprotected |
Definition at line 293 of file MyGuiScreenScenarioBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Gui.MyGuiScreenScenario, and Sandbox.Game.Gui.MyGuiScreenTutorial.
Definition at line 71 of file MyGuiScreenScenarioBase.cs.
|
inlineprotected |
Definition at line 298 of file MyGuiScreenScenarioBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Gui.MyGuiScreenTutorial.
Definition at line 161 of file MyGuiScreenScenarioBase.cs.
|
inlinevirtual |
Reimplemented from Sandbox.Graphics.GUI.MyGuiScreenBase.
Definition at line 249 of file MyGuiScreenScenarioBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Gui.MyGuiScreenScenario, and Sandbox.Game.Gui.MyGuiScreenTutorial.
Definition at line 283 of file MyGuiScreenScenarioBase.cs.
|
inlineprotected |
Definition at line 266 of file MyGuiScreenScenarioBase.cs.
|
inlineprotected |
Definition at line 330 of file MyGuiScreenScenarioBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Gui.MyGuiScreenScenario.
Definition at line 336 of file MyGuiScreenScenarioBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Gui.MyGuiScreenScenario, and Sandbox.Game.Gui.MyGuiScreenTutorial.
Definition at line 357 of file MyGuiScreenScenarioBase.cs.
|
inlineprotected |
Definition at line 176 of file MyGuiScreenScenarioBase.cs.
|
inlineprotected |
Definition at line 189 of file MyGuiScreenScenarioBase.cs.
|
inlineprotectedvirtual |
Called when [show].
Reimplemented from Sandbox.Graphics.GUI.MyGuiScreenBase.
Definition at line 258 of file MyGuiScreenScenarioBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Gui.MyGuiScreenScenario.
Definition at line 226 of file MyGuiScreenScenarioBase.cs.
|
inlinevirtual |
Reimplemented from Sandbox.Graphics.GUI.MyGuiScreenBase.
Definition at line 63 of file MyGuiScreenScenarioBase.cs.
|
inlineprotected |
Definition at line 303 of file MyGuiScreenScenarioBase.cs.
|
inlineprotectedvirtual |
Reimplemented in Sandbox.Game.Gui.MyGuiScreenScenario.
Definition at line 184 of file MyGuiScreenScenarioBase.cs.
|
inlinevirtual |
Reimplemented from Sandbox.Graphics.GUI.MyGuiScreenBase.
Reimplemented in Sandbox.Game.Gui.MyGuiScreenTutorial.
Definition at line 232 of file MyGuiScreenScenarioBase.cs.
|
protected |
Definition at line 37 of file MyGuiScreenScenarioBase.cs.
|
protected |
Definition at line 34 of file MyGuiScreenScenarioBase.cs.
|
protected |
Definition at line 31 of file MyGuiScreenScenarioBase.cs.
|
protected |
Definition at line 32 of file MyGuiScreenScenarioBase.cs.
|
protected |
Definition at line 33 of file MyGuiScreenScenarioBase.cs.
|
protected |
Definition at line 39 of file MyGuiScreenScenarioBase.cs.
|
protected |
Definition at line 36 of file MyGuiScreenScenarioBase.cs.
|
protected |
Definition at line 29 of file MyGuiScreenScenarioBase.cs.
|
protected |
Definition at line 42 of file MyGuiScreenScenarioBase.cs.
|
protected |
Definition at line 41 of file MyGuiScreenScenarioBase.cs.
|
protected |
Definition at line 43 of file MyGuiScreenScenarioBase.cs.
|
getprotected |
Definition at line 182 of file MyGuiScreenScenarioBase.cs.
|
getprotected |
Definition at line 181 of file MyGuiScreenScenarioBase.cs.