Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.Graphics.GUI.MyLayoutTable Struct Reference

Public Member Functions

Vector2 GetCellSize (int row, int col, int colSpan=1, int rowSpan=1)
 
 MyLayoutTable (IMyGuiControlsParent parent)
 
 MyLayoutTable (IMyGuiControlsParent parent, Vector2 topLeft, Vector2 size)
 
void SetColumnWidths (params float[] widthsPx)
 
void SetColumnWidthsNormalized (params float[] widthsPx)
 
void SetRowHeights (params float[] heightsPx)
 
void SetRowHeightsNormalized (params float[] heightsPx)
 
void Add (MyGuiControlBase control, MyAlignH alignH, MyAlignV alignV, int row, int col, int rowSpan=1, int colSpan=1)
 
void AddWithSize (MyGuiControlBase control, MyAlignH alignH, MyAlignV alignV, int row, int col, int rowSpan=1, int colSpan=1)
 

Properties

int LastRow [get]
 
int LastColumn [get]
 

Detailed Description

Definition at line 11 of file MyLayoutTable.cs.

Constructor & Destructor Documentation

Sandbox.Graphics.GUI.MyLayoutTable.MyLayoutTable ( IMyGuiControlsParent  parent)
inline

Definition at line 40 of file MyLayoutTable.cs.

Sandbox.Graphics.GUI.MyLayoutTable.MyLayoutTable ( IMyGuiControlsParent  parent,
Vector2  topLeft,
Vector2  size 
)
inline

Definition at line 49 of file MyLayoutTable.cs.

Member Function Documentation

void Sandbox.Graphics.GUI.MyLayoutTable.Add ( MyGuiControlBase  control,
MyAlignH  alignH,
MyAlignV  alignV,
int  row,
int  col,
int  rowSpan = 1,
int  colSpan = 1 
)
inline

Definition at line 104 of file MyLayoutTable.cs.

void Sandbox.Graphics.GUI.MyLayoutTable.AddWithSize ( MyGuiControlBase  control,
MyAlignH  alignH,
MyAlignV  alignV,
int  row,
int  col,
int  rowSpan = 1,
int  colSpan = 1 
)
inline

Definition at line 116 of file MyLayoutTable.cs.

Vector2 Sandbox.Graphics.GUI.MyLayoutTable.GetCellSize ( int  row,
int  col,
int  colSpan = 1,
int  rowSpan = 1 
)
inline

Definition at line 20 of file MyLayoutTable.cs.

void Sandbox.Graphics.GUI.MyLayoutTable.SetColumnWidths ( params float[]  widthsPx)
inline

Definition at line 58 of file MyLayoutTable.cs.

void Sandbox.Graphics.GUI.MyLayoutTable.SetColumnWidthsNormalized ( params float[]  widthsPx)
inline

Definition at line 70 of file MyLayoutTable.cs.

void Sandbox.Graphics.GUI.MyLayoutTable.SetRowHeights ( params float[]  heightsPx)
inline

Definition at line 81 of file MyLayoutTable.cs.

void Sandbox.Graphics.GUI.MyLayoutTable.SetRowHeightsNormalized ( params float[]  heightsPx)
inline

Definition at line 93 of file MyLayoutTable.cs.

Property Documentation

int Sandbox.Graphics.GUI.MyLayoutTable.LastColumn
get

Definition at line 36 of file MyLayoutTable.cs.

int Sandbox.Graphics.GUI.MyLayoutTable.LastRow
get

Definition at line 31 of file MyLayoutTable.cs.


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