Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Static Protected Member Functions | Protected Attributes | List of all members
UI_Control Class Reference
Inheritance diagram for UI_Control:
UI_ChooseOption UI_ColorPicker UI_Cycle UI_FieldFloatRange UI_FloatEdit UI_FloatRange UI_Grid UI_Group UI_Label UI_MinMaxRange UI_ProgressBar UI_Resources UI_ScaleEdit UI_Toggle UI_VariantSelector UI_Vector2

Public Member Functions

virtual void Load (ConfigNode node, object host)
 
virtual void Save (ConfigNode node, object host)
 
void SetSceneVisibility (UI_Scene scene, bool state)
 
void Setup (BaseField field)
 

Public Attributes

UI_Scene affectSymCounterparts = UI_Scene.Editor
 
bool controlEnabled = true
 
Callback< BaseField, object > onFieldChanged = null
 
Callback< BaseField, object > onSymmetryFieldChanged = null
 
UIPartActionItem partActionItem = null
 
bool requireFullControl = false
 Does this require full, not just partial, control? More...
 
UI_Scene scene = UI_Scene.All
 
bool suppressEditorShipModified = false
 

Static Protected Member Functions

static bool ParseEnabled (out bool value, ConfigNode node, string valueName, string FieldUIControlName)
 
static bool ParseFloat (out float value, ConfigNode node, string valueName, string FieldUIControlName, string errorNoValue)
 
static bool ParseString (out string value, ConfigNode node, string valueName, string FieldUIControlName, string errorNoValue)
 

Protected Attributes

BaseField field
 

Member Function Documentation

virtual void UI_Control.Load ( ConfigNode  node,
object  host 
)
inlinevirtual
static bool UI_Control.ParseEnabled ( out bool  value,
ConfigNode  node,
string  valueName,
string  FieldUIControlName 
)
inlinestaticprotected
static bool UI_Control.ParseFloat ( out float  value,
ConfigNode  node,
string  valueName,
string  FieldUIControlName,
string  errorNoValue 
)
inlinestaticprotected
static bool UI_Control.ParseString ( out string  value,
ConfigNode  node,
string  valueName,
string  FieldUIControlName,
string  errorNoValue 
)
inlinestaticprotected
virtual void UI_Control.Save ( ConfigNode  node,
object  host 
)
inlinevirtual
void UI_Control.SetSceneVisibility ( UI_Scene  scene,
bool  state 
)
inline
void UI_Control.Setup ( BaseField  field)
inline

Member Data Documentation

UI_Scene UI_Control.affectSymCounterparts = UI_Scene.Editor
bool UI_Control.controlEnabled = true
BaseField UI_Control.field
protected
Callback<BaseField, object> UI_Control.onFieldChanged = null
Callback<BaseField, object> UI_Control.onSymmetryFieldChanged = null
UIPartActionItem UI_Control.partActionItem = null
bool UI_Control.requireFullControl = false

Does this require full, not just partial, control?

UI_Scene UI_Control.scene = UI_Scene.All
bool UI_Control.suppressEditorShipModified = false

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