|
static void | LoadTextureAtlas (out string atlasFile, out MyAtlasTextureCoordinate[] atlasCoords) |
|
static Vector2 | ConvertHudToNormalizedGuiPosition (ref Vector2 hudPos) |
|
static void | HandleSelectedObjectHighlight (MyHudSelectedObject selection, MyHudObjectHighlightStyleData?data) |
|
static void | DrawSelectedObjectHighlightDummy (MyHudSelectedObject selection, string atlasTexture, MyAtlasTextureCoordinate textureCoord) |
|
static void | DrawSelectionCorner (string atlasTexture, MyHudSelectedObject selection, MyAtlasTextureCoordinate textureCoord, Vector2 scale, Vector2 pos, Vector2 rightVector, float textureScale) |
|
|
string | TextureAtlas [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] |
|
|
Public Attributes inherited from Sandbox.Graphics.GUI.MyGuiScreenBase |
Action | OnLoadingAction |
|
readonly MyGuiControls | Elements |
|
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 | 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 () |
|
Events inherited from Sandbox.Graphics.GUI.MyGuiScreenBase |
ScreenHandler | Closed |
|
VisibleChangedDelegate | VisibleChanged |
|
Action< MyGuiScreenBase > | DataLoading |
|
Action< MyGuiScreenBase > | DataUnloading |
|
Definition at line 32 of file MyGuiScreenHudBase.cs.
Sandbox.Game.Gui.MyGuiScreenHudBase.MyGuiScreenHudBase |
( |
| ) |
|
|
inline |
MyHudText Sandbox.Game.Gui.MyGuiScreenHudBase.AllocateText |
( |
| ) |
|
|
inline |
static Vector2 Sandbox.Game.Gui.MyGuiScreenHudBase.ConvertHudToNormalizedGuiPosition |
( |
ref Vector2 |
hudPos | ) |
|
|
inlinestatic |
static Vector2 Sandbox.Game.Gui.MyGuiScreenHudBase.ConvertNormalizedGuiToHud |
( |
ref Vector2 |
normGuiPos | ) |
|
|
inlinestaticprotected |
override bool Sandbox.Game.Gui.MyGuiScreenHudBase.Draw |
( |
| ) |
|
|
inlinevirtual |
void Sandbox.Game.Gui.MyGuiScreenHudBase.DrawTexts |
( |
| ) |
|
|
inline |
override string Sandbox.Game.Gui.MyGuiScreenHudBase.GetFriendlyName |
( |
| ) |
|
|
inlinevirtual |
override void Sandbox.Game.Gui.MyGuiScreenHudBase.LoadContent |
( |
| ) |
|
|
inlinevirtual |
static void Sandbox.Game.Gui.MyGuiScreenHudBase.LoadTextureAtlas |
( |
out string |
atlasFile, |
|
|
out MyAtlasTextureCoordinate[] |
atlasCoords |
|
) |
| |
|
inlinestatic |
override void Sandbox.Game.Gui.MyGuiScreenHudBase.UnloadContent |
( |
| ) |
|
|
inlinevirtual |
override bool Sandbox.Game.Gui.MyGuiScreenHudBase.Update |
( |
bool |
hasFocus | ) |
|
|
inlinevirtual |
string Sandbox.Game.Gui.MyGuiScreenHudBase.m_atlas |
|
protected |
StringBuilder Sandbox.Game.Gui.MyGuiScreenHudBase.m_helperSB = new StringBuilder() |
|
protected |
StringBuilder Sandbox.Game.Gui.MyGuiScreenHudBase.m_hudIndicatorText = new StringBuilder() |
|
protected |
float Sandbox.Game.Gui.MyGuiScreenHudBase.m_textScale |
|
protected |
string Sandbox.Game.Gui.MyGuiScreenHudBase.TextureAtlas |
|
get |
The documentation for this class was generated from the following file: