Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Public Attributes | List of all members
KSP.UI.AppUI_Control Class Reference

Base attribute for AppUI Input controls More...

Inheritance diagram for KSP.UI.AppUI_Control:
KSP.UI.AppUI_Dropdown KSP.UI.AppUI_Heading KSP.UI.AppUI_Input KSP.UI.AppUI_InputDateTime KSP.UI.AppUI_Label KSP.UI.AppUI_RadioBool KSP.UI.AppUI_SliderFloat KSP.UI.AppUI_ToggleBool

Public Types

enum  HorizontalAlignment { HorizontalAlignment.None, HorizontalAlignment.Left, HorizontalAlignment.Middle, HorizontalAlignment.Right }
 Limited set of alignment values for horizontal TMP More...
 
enum  VerticalAlignment { VerticalAlignment.Top, VerticalAlignment.Bottom, VerticalAlignment.Midline, VerticalAlignment.Capline }
 Limited set of alignment values for vertical TMP More...
 

Public Member Functions

 AppUI_Control ()
 

Public Attributes

string guiName
 The name display text of the control More...
 
HorizontalAlignment guiNameHorizAlignment = HorizontalAlignment.Left
 The horizontal alignment for the guiName text. More...
 
VerticalAlignment guiNameVertAlignment = VerticalAlignment.Midline
 The vertical alignment for the guiName text. More...
 
bool hideOnError = false
 Whether to hide this control during error states. More...
 
string hoverText
 hovertext to be set on any configured hovertext elements - this only shows on XSelectable controls (eg not labels) More...
 
int order
 Sort order index for this parameter in the panel More...
 
bool showGuiName = true
 Whether the guiName is shown alongside the value/input More...
 

Detailed Description

Base attribute for AppUI Input controls

Member Enumeration Documentation

enum KSP.UI.AppUI_Control.HorizontalAlignment

Limited set of alignment values for horizontal TMP

Enumerator
None 
Left 
Middle 
Right 
enum KSP.UI.AppUI_Control.VerticalAlignment

Limited set of alignment values for vertical TMP

Enumerator
Top 
Bottom 
Midline 
Capline 

Constructor & Destructor Documentation

KSP.UI.AppUI_Control.AppUI_Control ( )
inline

Member Data Documentation

string KSP.UI.AppUI_Control.guiName

The name display text of the control

HorizontalAlignment KSP.UI.AppUI_Control.guiNameHorizAlignment = HorizontalAlignment.Left

The horizontal alignment for the guiName text.

VerticalAlignment KSP.UI.AppUI_Control.guiNameVertAlignment = VerticalAlignment.Midline

The vertical alignment for the guiName text.

bool KSP.UI.AppUI_Control.hideOnError = false

Whether to hide this control during error states.

string KSP.UI.AppUI_Control.hoverText

hovertext to be set on any configured hovertext elements - this only shows on XSelectable controls (eg not labels)

int KSP.UI.AppUI_Control.order

Sort order index for this parameter in the panel

bool KSP.UI.AppUI_Control.showGuiName = true

Whether the guiName is shown alongside the value/input


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