Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.Gui.RichTextLabel.MyRichLabelLink Class Reference
Inheritance diagram for Sandbox.Gui.RichTextLabel.MyRichLabelLink:
Sandbox.Graphics.GUI.MyRichLabelText Sandbox.Graphics.GUI.MyRichLabelPart

Public Member Functions

 MyRichLabelLink (string url, string text, float scale, Action< string > onClick)
 
override bool Draw (VRageMath.Vector2 position)
 
override bool HandleInput (VRageMath.Vector2 position)
 
- Public Member Functions inherited from Sandbox.Graphics.GUI.MyRichLabelText
 MyRichLabelText (StringBuilder text, string font, float scale, Vector4 color)
 
 MyRichLabelText ()
 
void Init (string text, string font, float scale, Vector4 color)
 
void Append (string text)
 
override void AppendTextTo (StringBuilder builder)
 
override bool Draw (Vector2 position)
 Draws text More...
 
override bool HandleInput (Vector2 position)
 

Properties

string Url [get, set]
 
override Vector2 Size [get]
 
- Properties inherited from Sandbox.Graphics.GUI.MyRichLabelText
StringBuilder Text [get]
 
bool ShowTextShadow [get, set]
 
float Scale [get, set]
 
string Font [get, set]
 
Vector4 Color [get, set]
 
string Tag [get, set]
 
- Properties inherited from Sandbox.Graphics.GUI.MyRichLabelPart
virtual Vector2 Size [get, protected set]
 

Detailed Description

Definition at line 12 of file MyRichLabelLink.cs.

Constructor & Destructor Documentation

Sandbox.Gui.RichTextLabel.MyRichLabelLink.MyRichLabelLink ( string  url,
string  text,
float  scale,
Action< string >  onClick 
)
inline

Definition at line 23 of file MyRichLabelLink.cs.

Member Function Documentation

override bool Sandbox.Gui.RichTextLabel.MyRichLabelLink.Draw ( VRageMath.Vector2  position)
inline

Definition at line 33 of file MyRichLabelLink.cs.

override bool Sandbox.Gui.RichTextLabel.MyRichLabelLink.HandleInput ( VRageMath.Vector2  position)
inline

Definition at line 44 of file MyRichLabelLink.cs.

Property Documentation

override Vector2 Sandbox.Gui.RichTextLabel.MyRichLabelLink.Size
get

Definition at line 63 of file MyRichLabelLink.cs.

string Sandbox.Gui.RichTextLabel.MyRichLabelLink.Url
getset

Definition at line 21 of file MyRichLabelLink.cs.


The documentation for this class was generated from the following file: