Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
DialogGUIBase Class Reference
Inheritance diagram for DialogGUIBase:
DialogGUIBox DialogGUIButton DialogGUIContentSizer DialogGUIImage DialogGUILabel DialogGUILayoutBase DialogGUILayoutEnd DialogGUIScrollList DialogGUISlider DialogGUISpace DialogGUISprite DialogGUITextInput DialogGUIToggle DialogGUIToggleGroup MultiOptionDialog

Public Member Functions

void AddChild (DialogGUIBase child)
 
void AddChildren (DialogGUIBase[] c)
 
virtual GameObject Create (ref Stack< Transform > layouts, UISkinDef skin)
 
 DialogGUIBase (params DialogGUIBase[] list)
 
virtual void Resize ()
 
void SetOptionText (string text)
 
virtual void Update ()
 

Static Public Member Functions

static bool SelectFirstItem (DialogGUIBase[] items)
 
static void SetUpTextObject (TMPro.TextMeshProUGUI text, string value, UIStyle style, UISkinDef skin, bool ignoreStyleColor=false)
 

Public Attributes

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

virtual TMPro.TextMeshProUGUI GetTextObject ()
 
void SetupTransformAndLayout ()
 

Protected Attributes

bool dirty = true
 
bool lastEnabledState = false
 
bool lastInteractibleState = true
 

Properties

bool Dirty [get, set]
 

Constructor & Destructor Documentation

DialogGUIBase.DialogGUIBase ( params DialogGUIBase[]  list)
inline

Member Function Documentation

void DialogGUIBase.AddChild ( DialogGUIBase  child)
inline
void DialogGUIBase.AddChildren ( DialogGUIBase[]  c)
inline
virtual GameObject DialogGUIBase.Create ( ref Stack< Transform >  layouts,
UISkinDef  skin 
)
inlinevirtual
virtual TMPro.TextMeshProUGUI DialogGUIBase.GetTextObject ( )
inlineprotectedvirtual
virtual void DialogGUIBase.Resize ( )
inlinevirtual
static bool DialogGUIBase.SelectFirstItem ( DialogGUIBase[]  items)
inlinestatic
void DialogGUIBase.SetOptionText ( string  text)
inline
static void DialogGUIBase.SetUpTextObject ( TMPro.TextMeshProUGUI  text,
string  value,
UIStyle  style,
UISkinDef  skin,
bool  ignoreStyleColor = false 
)
inlinestatic
void DialogGUIBase.SetupTransformAndLayout ( )
inlineprotected
virtual void DialogGUIBase.Update ( )
inlinevirtual

Member Data Documentation

List<DialogGUIBase> DialogGUIBase.children = new List<DialogGUIBase>()
bool DialogGUIBase.dirty = true
protected
bool DialogGUIBase.flexibleHeight = true
UIStyle DialogGUIBase.guiStyle = null
float DialogGUIBase.height = -1.0f
bool DialogGUIBase.lastEnabledState = false
protected
bool DialogGUIBase.lastInteractibleState = true
protected
Callback DialogGUIBase.OnFixedUpdate = () => { }
Callback DialogGUIBase.OnLateUpdate = () => { }
Callback DialogGUIBase.OnRenderObject = () => { }
Callback DialogGUIBase.OnResize = () => { }
Callback DialogGUIBase.OnUpdate = () => { }
Func<bool> DialogGUIBase.OptionEnabledCondition = () => { return true; }
Func<bool> DialogGUIBase.OptionInteractableCondition = () => { return true; }
string DialogGUIBase.OptionText = "No Function"
Vector2 DialogGUIBase.position
Vector2 DialogGUIBase.size = new Vector2(-1f, -1f)
Color DialogGUIBase.tint
string DialogGUIBase.tooltipText
GameObject DialogGUIBase.uiItem = null
bool DialogGUIBase.useColor = false
float DialogGUIBase.width = -1.0f

Property Documentation

bool DialogGUIBase.Dirty
getset

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