Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
DialogGUIGridLayout Class Reference
Inheritance diagram for DialogGUIGridLayout:
DialogGUILayoutBase DialogGUIBase

Public Member Functions

override GameObject Create (ref Stack< Transform > layouts, UISkinDef skin)
 
 DialogGUIGridLayout (params DialogGUIBase[] list)
 
 DialogGUIGridLayout ()
 
 DialogGUIGridLayout (RectOffset padding, Vector2 cellSize, Vector2 spacing, GridLayoutGroup.Corner startCorner, GridLayoutGroup.Axis startAxis, TextAnchor childAligment, GridLayoutGroup.Constraint constraint, int constraintCount, params DialogGUIBase[] list)
 
- Public Member Functions inherited from DialogGUILayoutBase
 DialogGUILayoutBase (params DialogGUIBase[] list)
 
- Public Member Functions inherited from DialogGUIBase
void AddChild (DialogGUIBase child)
 
void AddChildren (DialogGUIBase[] c)
 
 DialogGUIBase (params DialogGUIBase[] list)
 
virtual void Resize ()
 
void SetOptionText (string text)
 
virtual void Update ()
 

Properties

Vector2 cellSize [get, set]
 
TextAnchor childAlignment [get, set]
 
GridLayoutGroup.Constraint constraint [get, set]
 
int constraintCount [get, set]
 
new Vector2 spacing [get, set]
 
GridLayoutGroup.Axis startAxis [get, set]
 
GridLayoutGroup.Corner startCorner [get, set]
 
- Properties inherited from DialogGUIBase
bool Dirty [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from DialogGUIBase
static bool SelectFirstItem (DialogGUIBase[] items)
 
static void SetUpTextObject (TMPro.TextMeshProUGUI text, string value, UIStyle style, UISkinDef skin, bool ignoreStyleColor=false)
 
- Public Attributes inherited from DialogGUILayoutBase
TextAnchor anchor = TextAnchor.UpperLeft
 
float minHeight = 0f
 
float minWidth = 0f
 
RectOffset padding = new RectOffset()
 
float spacing = 4.0f
 
bool stretchHeight = false
 
bool stretchWidth = false
 
bool useParent = false
 
- Public Attributes inherited from DialogGUIBase
List< DialogGUIBasechildren = new List<DialogGUIBase>()
 
bool flexibleHeight = true
 
UIStyle guiStyle = null
 
float height = -1.0f
 
Callback OnFixedUpdate = () => { }
 
Callback OnLateUpdate = () => { }
 
Callback OnRenderObject = () => { }
 
Callback OnResize = () => { }
 
Callback OnUpdate = () => { }
 
Func< bool > OptionEnabledCondition = () => { return true; }
 
Func< bool > OptionInteractableCondition = () => { return true; }
 
string OptionText = "No Function"
 
Vector2 position
 
Vector2 size = new Vector2(-1f, -1f)
 
Color tint
 
string tooltipText
 
GameObject uiItem = null
 
bool useColor = false
 
float width = -1.0f
 
- Protected Member Functions inherited from DialogGUIBase
virtual TMPro.TextMeshProUGUI GetTextObject ()
 
void SetupTransformAndLayout ()
 
- Protected Attributes inherited from DialogGUIBase
bool dirty = true
 
bool lastEnabledState = false
 
bool lastInteractibleState = true
 

Constructor & Destructor Documentation

DialogGUIGridLayout.DialogGUIGridLayout ( params DialogGUIBase[]  list)
inline
DialogGUIGridLayout.DialogGUIGridLayout ( )
inline
DialogGUIGridLayout.DialogGUIGridLayout ( RectOffset  padding,
Vector2  cellSize,
Vector2  spacing,
GridLayoutGroup.Corner  startCorner,
GridLayoutGroup.Axis  startAxis,
TextAnchor  childAligment,
GridLayoutGroup.Constraint  constraint,
int  constraintCount,
params DialogGUIBase[]  list 
)
inline

Member Function Documentation

override GameObject DialogGUIGridLayout.Create ( ref Stack< Transform >  layouts,
UISkinDef  skin 
)
inlinevirtual

Reimplemented from DialogGUILayoutBase.

Property Documentation

Vector2 DialogGUIGridLayout.cellSize
getset
TextAnchor DialogGUIGridLayout.childAlignment
getset
GridLayoutGroup.Constraint DialogGUIGridLayout.constraint
getset
int DialogGUIGridLayout.constraintCount
getset
new Vector2 DialogGUIGridLayout.spacing
getset
GridLayoutGroup.Axis DialogGUIGridLayout.startAxis
getset
GridLayoutGroup.Corner DialogGUIGridLayout.startCorner
getset

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